]> source.dussan.org Git - gitea.git/commit
Fix UI misalignment on user setting page (#25629)
authorwxiaoguang <wxiaoguang@gmail.com>
Mon, 3 Jul 2023 20:38:06 +0000 (04:38 +0800)
committerGitHub <noreply@github.com>
Mon, 3 Jul 2023 20:38:06 +0000 (20:38 +0000)
commiteea58a5d5563da818e70db514a4109fe17008d69
treef4fffb72f5b1c196021860f26d19afea8f3334f7
parentdeb007ca2b8ceefe2708a0694c5e9e2e598d95fa
Fix UI misalignment on user setting page (#25629)

Fix #25628

Diff with ignoring space:
https://github.com/go-gitea/gitea/pull/25629/files?diff=unified&w=1

The "modal" shouldn't appear between "ui attached segment", otherwise
these segments lose margin-top.

After the fix:

<details>

![image](https://github.com/go-gitea/gitea/assets/2114189/ac15e73d-4ca8-416a-950d-ffc912c6ab61)

![image](https://github.com/go-gitea/gitea/assets/2114189/eb431336-4d21-4e44-8beb-8919595a83c8)

![image](https://github.com/go-gitea/gitea/assets/2114189/dffaed88-5ba2-419d-a241-24cb200f757c)

![image](https://github.com/go-gitea/gitea/assets/2114189/e8c5a03e-e16a-4c94-a1a5-7845d4e1a824)

</details>
templates/user/settings/account.tmpl
templates/user/settings/applications_oauth2_list.tmpl
templates/user/settings/grants_oauth2.tmpl
templates/user/settings/security/accountlinks.tmpl
templates/user/settings/security/openid.tmpl
templates/user/settings/security/twofa.tmpl
templates/user/settings/security/webauthn.tmpl
web_src/css/repo.css