1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add background to dashboard navbar, fix missing padding (#29940)

Two small CSS fixes:

1. Add background and reduced padding/avatar size to dashboard navbar.
We use that background already in a number of "secondary navbars", so it
fits.

<img width="1344" alt="Screenshot 2024-03-20 at 18 18 21"
src="https://github.com/go-gitea/gitea/assets/115237/ce5ebedc-e607-42c7-b7b4-b7a4c0ee68f2">

2. Fix padding on top of user settings and subscriptions, regressed by
https://github.com/go-gitea/gitea/pull/29922.
This commit is contained in:
silverwind
2024-03-20 19:33:00 +01:00
committed by GitHub
parent 99d7ef5091
commit 97b078d226
3 changed files with 7 additions and 5 deletions

View File

@@ -669,7 +669,8 @@ img.ui.avatar,
}
.page-content.new:is(.repo,.migrate,.org),
.page-content.profile:is(.user,.organization) {
.page-content.profile:is(.user,.organization),
.page-content.user:is(.settings,.notification) {
padding-top: 15px;
}
@@ -1796,7 +1797,7 @@ table th[data-sortt-desc] .svg {
.ui.tabular.menu .item,
.ui.secondary.pointing.menu .item {
padding: 11px 12px !important;
padding: 11.55px 12px !important; /* match .dashboard-navbar in height */
color: var(--color-text-light-2);
}