fix(ui): improve milestone/project header consistency (#7174)

The related CSS `milestone-card` is used in 3 places:
* global milestone view `/milestones`
* per-repo milestone view
* per-user/org projects view

The first two had gaps too small basically provided by whitespace. The latter was using an unusually large gap via tailwind.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7174
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
0ko 2025-03-09 16:24:52 +00:00 committed by Gusted
parent 377052c90c
commit 58ca578f64
4 changed files with 15 additions and 6 deletions

View file

@ -29,6 +29,13 @@
justify-content: space-between;
}
.milestone-header h3 {
display: flex;
align-items: center;
margin: 0;
gap: 0.5rem;
}
.milestone-toolbar {
padding-top: 5px;
display: flex;