Skip to content

Commit c320cae

Browse files
authored
Truncate commit summary on repo files table. (#22551) (#22552)
Backport #22551 There was an unintended regression in #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 #22360
1 parent f1c826e commit c320cae

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
@@ -2845,6 +2845,11 @@ tbody.commit-list {
28452845
display: inline;
28462846
}
28472847

2848+
// but in the repo-files-table we cannot
2849+
#repo-files-table .commit-list .message-wrapper {
2850+
display: inline-block;
2851+
}
2852+
28482853
@media @mediaSm {
28492854
tr.commit-list {
28502855
width: 100%;

0 commit comments

Comments
 (0)