summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2023-01-20 15:23:03 +0000
committerGitHub <noreply@github.com>2023-01-20 23:23:03 +0800
commitb8eb28232769eda35a220223846514bceb632a89 (patch)
tree18b3d0687c8997255f4e4cdb88397e28064a00b3 /web_src
parent6fe3c8b3980f850c9789f9fa62bdfee7b2708ff0 (diff)
downloadgitea-b8eb28232769eda35a220223846514bceb632a89.tar.gz
gitea-b8eb28232769eda35a220223846514bceb632a89.zip
Truncate commit summary on repo files table. (#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 Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less5
1 files changed, 5 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 4bcaf8dd04..7aa42b1f07 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -2904,6 +2904,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%;