From abdf0a34f1fe83383a07d8b4a3d26643e3a443cf Mon Sep 17 00:00:00 2001 From: Andrew Thornton Date: Fri, 20 Jan 2023 13:20:25 +0000 Subject: [PATCH] Truncate commit summary on repo files table. 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 --- web_src/less/_repository.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 4bcaf8dd040f..7aa42b1f0718 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%;