Skip to content

Commit

Permalink
Truncate commit summary on repo files table. (go-gitea#22551) (go-git…
Browse files Browse the repository at this point in the history
…ea#22552)

Backport go-gitea#22551
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
  • Loading branch information
yardenshoham authored Jan 20, 2023
1 parent f1c826e commit c320cae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web_src/less/_repository.less
Original file line number Diff line number Diff line change
Expand Up @@ -2845,6 +2845,11 @@ tbody.commit-list {
display: inline;
}

// but in the repo-files-table we cannot
#repo-files-table .commit-list .message-wrapper {
display: inline-block;
}

@media @mediaSm {
tr.commit-list {
width: 100%;
Expand Down

0 comments on commit c320cae

Please sign in to comment.