summaryrefslogtreecommitdiffstats
path: root/web_src/css/repo
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-20 12:21:18 +0100
committerGitHub <noreply@github.com>2024-03-20 11:21:18 +0000
commit8cad44f4109b6f87e565d43e137e99ab23b54349 (patch)
treeaf291784b185bde527d12b9d38696a297bbde64d /web_src/css/repo
parentb25eec41eb4d7058be808daefd6fd47eed61c7d3 (diff)
downloadgitea-8cad44f4109b6f87e565d43e137e99ab23b54349.tar.gz
gitea-8cad44f4109b6f87e565d43e137e99ab23b54349.zip
Remove the negative margin from `.page-content` (#29922)
The negative margin was suboptimal and presents a few unnecessary challenges while styling the page. Remove it and add custom margin values, which slightly changes the height a few things near the top of the page as well: 15px less height of explore and login navbar: <img width="899" alt="Screenshot 2024-03-20 at 00 52 34" src="https://github.com/go-gitea/gitea/assets/115237/72a01ca4-5d17-4a0f-b915-61f95054fcb1"> 15px reduced padding-top height of "user bar" and equal 4px padding added: <img width="484" alt="Screenshot 2024-03-20 at 00 52 50" src="https://github.com/go-gitea/gitea/assets/115237/a8507e6d-372d-4a8b-9048-66fcf8a5facd"> 3px less padding on top of repo: <img width="552" alt="Screenshot 2024-03-20 at 00 53 49" src="https://github.com/go-gitea/gitea/assets/115237/dede6e44-7688-440f-a1b6-13532638ae03">
Diffstat (limited to 'web_src/css/repo')
-rw-r--r--web_src/css/repo/header.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/css/repo/header.css b/web_src/css/repo/header.css
index 4461e3338e..f66df4cd8b 100644
--- a/web_src/css/repo/header.css
+++ b/web_src/css/repo/header.css
@@ -71,6 +71,7 @@
}
.repository .header-wrapper {
+ padding-top: 12px;
background-color: var(--color-header-wrapper);
}