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](ac15e73d-4ca8-416a-950d-ffc912c6ab61)


![image](eb431336-4d21-4e44-8beb-8919595a83c8)


![image](dffaed88-5ba2-419d-a241-24cb200f757c)


![image](e8c5a03e-e16a-4c94-a1a5-7845d4e1a824)

</details>
This commit is contained in:
wxiaoguang 2023-07-04 04:38:06 +08:00 committed by GitHub
parent deb007ca2b
commit eea58a5d55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 73 additions and 83 deletions

View file

@ -2358,10 +2358,6 @@
color: var(--color-text-light-2);
}
.settings .list.email > .item:not(:first-child) {
min-height: 60px;
}
.settings .list.collaborator > .item {
padding: 0;
}