forked from gitea/gitea
1
0
Fork 0

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
This commit is contained in:
Yarden Shoham 2023-01-20 17:34:52 +02:00 committed by GitHub
parent f1c826ed29
commit c320caed97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -2845,6 +2845,11 @@ tbody.commit-list {
display: inline; display: inline;
} }
// but in the repo-files-table we cannot
#repo-files-table .commit-list .message-wrapper {
display: inline-block;
}
@media @mediaSm { @media @mediaSm {
tr.commit-list { tr.commit-list {
width: 100%; width: 100%;