1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 18:14:28 +00:00

Reduce margin/padding on flex-list items and divider (#27872) (#27874)

Backport #27872 by @silverwind

Small CSS tweak, reduces margin/padding from 14px to 10px, which I think
looks better
This commit is contained in:
Giteabot 2023-11-02 13:24:03 +08:00 committed by GitHub
parent c074af6a6d
commit d6f7c49b8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
.divider { .divider {
margin: 1rem 0; margin: 10px 0;
height: 0; height: 0;
font-weight: var(--font-weight-medium); font-weight: var(--font-weight-medium);
text-transform: uppercase; text-transform: uppercase;
@ -15,7 +15,7 @@
.divider.divider-text { .divider.divider-text {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 7px 0; padding: 5px 0;
} }
.divider.divider-text::before, .divider.divider-text::before,

View File

@ -6,7 +6,7 @@
display: flex; display: flex;
gap: 8px; gap: 8px;
align-items: flex-start; align-items: flex-start;
padding: 1em 0; padding: 10px 0;
} }
.flex-item .flex-item-leading { .flex-item .flex-item-leading {