]> source.dussan.org Git - gitea.git/commit
Reduce margins on user settings page, introduce `flex-container` (#26046)
authorsilverwind <me@silverwind.io>
Mon, 31 Jul 2023 07:16:03 +0000 (09:16 +0200)
committerGitHub <noreply@github.com>
Mon, 31 Jul 2023 07:16:03 +0000 (07:16 +0000)
commit7e160f8824d1b37baaedbc547a59aaf77c503ec5
treed5982ab4ad0a3f6ebb842bbf0a495bed0ca469a6
parent1e76a824bcd71acd59cdfb2c4547806bc34b3d86
Reduce margins on user settings page, introduce `flex-container` (#26046)

Same as https://github.com/go-gitea/gitea/pull/26026 but for the user
settings page. It introduces a new `flex-container` class and shares it
across both pages.

Before and After:
<img width="1264" alt="Screenshot 2023-07-21 at 19 35 57"
src="https://github.com/go-gitea/gitea/assets/115237/1358dab4-55c0-40ce-a4d5-673099304f3d">
<img width="1269" alt="Screenshot 2023-07-21 at 19 35 42"
src="https://github.com/go-gitea/gitea/assets/115237/34812f6d-dc65-4009-b977-90e03efdc6d1">
templates/admin/layout_head.tmpl
templates/admin/navbar.tmpl
templates/user/settings/layout_head.tmpl
templates/user/settings/navbar.tmpl
web_src/css/admin.css
web_src/css/index.css
web_src/css/modules/flexcontainer.css [new file with mode: 0644]