1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
forgejo/templates
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
..
admin Remove unnecessary ".Link" usages (#29929) 2024-03-26 19:04:26 +01:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Add <overflow-menu>, rename webcomponents (#29400) 2024-03-20 08:46:29 +01:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest Migrate border and margin classes to Tailwind (#29828) 2024-03-26 19:04:25 +01:00
explore Remove unnecessary ".Link" usages (#29909) 2024-03-26 19:04:26 +01:00
mail templates: remove superfluous SanitizeHTML 2024-03-11 23:36:58 +07:00
org Migrate border and margin classes to Tailwind (#29828) 2024-03-26 19:04:25 +01:00
package Unify search boxes (#29530) 2024-03-20 12:31:05 +00:00
projects Remove unnecessary ".Link" usages (#29909) 2024-03-26 19:04:26 +01:00
repo Remove unnecessary ".Link" usages (#29929) 2024-03-26 19:04:26 +01:00
shared Remove unnecessary ".Link" usages (#29909) 2024-03-26 19:04:26 +01:00
status Migrate border and margin classes to Tailwind (#29828) 2024-03-26 19:04:25 +01:00
swagger Allow users to hide all "Add more units..." hints 2024-03-21 08:15:51 +01:00
user Remove the negative margin from .page-content (#29922) 2024-03-26 19:04:26 +01:00
webhook Change webhook-type in create-view (#29114) 2024-02-17 23:24:30 +01:00
home.tmpl templates: remove superfluous SanitizeHTML 2024-03-11 23:36:58 +07:00
install.tmpl [I18N] Improve English names & consistency 2024-03-10 19:10:29 +05:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00