From c09e0ee19898bd8a57e49631816095e09057120c Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 3 Jun 2025 18:00:39 +0200 Subject: [PATCH] Make pull request and issue history more compact (#34588) Reduced spacing around history entries and inside the commits list, also fixed unequal horizontal spacing inside the commit badge. --- web_src/css/repo.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 306db343008cd..023755c82af86 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -523,7 +523,7 @@ td .commit-summary { .repository.view.issue .comment-list .timeline-item, .repository.view.issue .comment-list .timeline-item-group { - padding: 16px 0; + padding: 8px 0; } .repository.view.issue .comment-list .timeline-item-group .timeline-item { @@ -577,6 +577,11 @@ td .commit-summary { justify-content: center; } +.repository.view.issue .comment-list .timeline-item.commits-list .badge { + margin-right: 0; + height: 28px; +} + .repository.view.issue .comment-list .timeline-item .badge .svg { width: 22px; height: 22px; @@ -601,10 +606,6 @@ td .commit-summary { padding-top: 0; } -.repository.view.issue .comment-list .timeline-item.commits-list .ui.avatar { - margin-right: 0.25em; -} - .repository.view.issue .comment-list .timeline-item.event > .commit-status-link { float: right; margin-right: 8px;