1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/templates
silverwind 8cad44f410
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">
2024-03-20 11:21:18 +00:00
..
admin Remove unnecessary ".Link" usages (#29929) 2024-03-20 06:58:10 +00: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-15 02:05:31 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Migrate border and margin classes to Tailwind (#29828) 2024-03-18 14:47:05 +00:00
explore Remove unnecessary ".Link" usages (#29909) 2024-03-20 13:56:42 +08:00
mail Remove unnecessary SanitizeHTML from code (#29575) 2024-03-04 12:02:45 +00:00
org Migrate border and margin classes to Tailwind (#29828) 2024-03-18 14:47:05 +00:00
package Add <overflow-menu>, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
projects Remove unnecessary ".Link" usages (#29909) 2024-03-20 13:56:42 +08:00
repo Remove unnecessary ".Link" usages (#29929) 2024-03-20 06:58:10 +00:00
shared Remove unnecessary ".Link" usages (#29909) 2024-03-20 13:56:42 +08:00
status Migrate border and margin classes to Tailwind (#29828) 2024-03-18 14:47:05 +00:00
swagger Fix lint-swagger warning (#29787) 2024-03-14 04:59:52 +00:00
user Remove the negative margin from .page-content (#29922) 2024-03-20 11:21:18 +00:00
webhook Change webhook-type in create-view (#29114) 2024-02-15 14:59:48 +01:00
home.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
install.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-22 17:02:33 +00:00
post-install.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00