aboutsummaryrefslogtreecommitdiffstats
path: root/templates
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 /templates
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 'templates')
-rw-r--r--templates/user/dashboard/navbar.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/user/dashboard/navbar.tmpl b/templates/user/dashboard/navbar.tmpl
index 3e9442d6fc..480c39e8bf 100644
--- a/templates/user/dashboard/navbar.tmpl
+++ b/templates/user/dashboard/navbar.tmpl
@@ -105,4 +105,4 @@
{{end}}
</div>
</div>
-<div class="divider"></div>
+<div class="divider tw-mt-0"></div>