Skip to content

Commit bacc69d

Browse files
GiteaBotsilverwind
andauthored
Make pull request and issue history more compact (go-gitea#34588) (go-gitea#34594)
Backport go-gitea#34588 by @silverwind Before, waste of space in multiple places: <img width="962" alt="Screenshot 2025-06-02 at 23 11 08" src="https://github.com/user-attachments/assets/ecddf247-d690-434c-a865-9d5e6c690b7d" /> After, reduced spacing around history entries and inside commits list, also fixed unequal horizontal spacing inside commit badge. <img width="946" alt="Screenshot 2025-06-02 at 23 10 45" src="https://github.com/user-attachments/assets/fe92f8e6-28af-4647-ac3a-1aced23d3b27" /> Also, here's a rendering of issue history events, it's more compact now at 8px padding: <img width="565" alt="image" src="https://github.com/user-attachments/assets/cdbf7c0a-a9a2-4942-85fc-c388abb36e15" /> Co-authored-by: silverwind <[email protected]>
1 parent c5da032 commit bacc69d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

web_src/css/repo.css

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ td .commit-summary {
523523

524524
.repository.view.issue .comment-list .timeline-item,
525525
.repository.view.issue .comment-list .timeline-item-group {
526-
padding: 16px 0;
526+
padding: 8px 0;
527527
}
528528

529529
.repository.view.issue .comment-list .timeline-item-group .timeline-item {
@@ -577,6 +577,11 @@ td .commit-summary {
577577
justify-content: center;
578578
}
579579

580+
.repository.view.issue .comment-list .timeline-item.commits-list .badge {
581+
margin-right: 0;
582+
height: 28px;
583+
}
584+
580585
.repository.view.issue .comment-list .timeline-item .badge .svg {
581586
width: 22px;
582587
height: 22px;
@@ -601,10 +606,6 @@ td .commit-summary {
601606
padding-top: 0;
602607
}
603608

604-
.repository.view.issue .comment-list .timeline-item.commits-list .ui.avatar {
605-
margin-right: 0.25em;
606-
}
607-
608609
.repository.view.issue .comment-list .timeline-item.event > .commit-status-link {
609610
float: right;
610611
margin-right: 8px;

0 commit comments

Comments
 (0)