Skip to content

Commit abdf0a3

Browse files
committed
Truncate commit summary on repo files table.
There was an unintended regression in go-gitea#21124 which assumed that `.commits-list .message-wrapper` would only match the commit summaries on `/{owner}/{name}/commits/*`. This assumption is incorrect as the directory/file view also uses a `.commits-list` wrapper. Rather than completely restructure this page this PR simply adjusts the styling to again use `display: inline-block;` for `#repo-files-table .commit-list .message-wrapper` Fix go-gitea#22360 Signed-off-by: Andrew Thornton <[email protected]>
1 parent 6fe3c8b commit abdf0a3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

web_src/less/_repository.less

+5
Original file line numberDiff line numberDiff line change
@@ -2904,6 +2904,11 @@ tbody.commit-list {
29042904
display: inline;
29052905
}
29062906

2907+
// but in the repo-files-table we cannot
2908+
#repo-files-table .commit-list .message-wrapper {
2909+
display: inline-block;
2910+
}
2911+
29072912
@media @mediaSm {
29082913
tr.commit-list {
29092914
width: 100%;

0 commit comments

Comments
 (0)