Skip to content

Commit 9e61ec3

Browse files
committed
Merge pull request gogs#830 from TonyTsangHK/dev
Add max-width to commit message of repo-files-table
2 parents 13e3539 + 9f4e584 commit 9e61ec3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

public/ng/css/gogs.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,6 +1250,9 @@ The register and sign-in page style
12501250
color: #428BCA;
12511251
text-decoration: underline;
12521252
}
1253+
#repo-files-table td.message .text-truncate {
1254+
max-width: 360px;
1255+
}
12531256
#repo-files-table tbody {
12541257
background-color: #FFF;
12551258
}

public/ng/less/gogs/repository.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,11 @@
281281
color: #428BCA;
282282
text-decoration: underline;
283283
}
284+
td.message {
285+
.text-truncate {
286+
max-width: 360px;
287+
}
288+
}
284289
tbody {
285290
background-color: #FFF;
286291
tr:hover {

0 commit comments

Comments
 (0)