mirror of
1
Fork 0
forgejo/templates/user/dashboard
silverwind 165182a92d
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">

(cherry picked from commit 8cad44f4109b6f87e565d43e137e99ab23b54349)
2024-03-26 19:04:26 +01:00
..
dashboard.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
feeds.tmpl Rename Action.GetDisplayName to GetActDisplayName (#29540) 2024-03-06 12:10:46 +08:00
issues.tmpl Remove unnecessary ".Link" usages (#29929) 2024-03-26 19:04:26 +01:00
milestones.tmpl Remove unnecessary ".Link" usages (#29929) 2024-03-26 19:04:26 +01:00
navbar.tmpl Remove the negative margin from `.page-content` (#29922) 2024-03-26 19:04:26 +01:00
repolist.tmpl Unify search boxes (#29530) 2024-03-20 12:31:05 +00:00