summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-11-02 13:24:03 +0800
committerGitHub <noreply@github.com>2023-11-02 13:24:03 +0800
commitd6f7c49b8b93245c1640b5226a1fc00738386321 (patch)
treebc8b248d92a1bf81002672430434a8c13619c6f2 /web_src
parentc074af6a6db83de3b1099b80f500da0c083d0587 (diff)
downloadgitea-d6f7c49b8b93245c1640b5226a1fc00738386321.tar.gz
gitea-d6f7c49b8b93245c1640b5226a1fc00738386321.zip
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
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/modules/divider.css4
-rw-r--r--web_src/css/shared/flex-list.css2
2 files changed, 3 insertions, 3 deletions
diff --git a/web_src/css/modules/divider.css b/web_src/css/modules/divider.css
index 8c9649d6ba..48560bd3d9 100644
--- a/web_src/css/modules/divider.css
+++ b/web_src/css/modules/divider.css
@@ -1,5 +1,5 @@
.divider {
- margin: 1rem 0;
+ margin: 10px 0;
height: 0;
font-weight: var(--font-weight-medium);
text-transform: uppercase;
@@ -15,7 +15,7 @@
.divider.divider-text {
display: flex;
align-items: center;
- padding: 7px 0;
+ padding: 5px 0;
}
.divider.divider-text::before,
diff --git a/web_src/css/shared/flex-list.css b/web_src/css/shared/flex-list.css
index 93d8c9b49c..e1ad6e7f97 100644
--- a/web_src/css/shared/flex-list.css
+++ b/web_src/css/shared/flex-list.css
@@ -6,7 +6,7 @@
display: flex;
gap: 8px;
align-items: flex-start;
- padding: 1em 0;
+ padding: 10px 0;
}
.flex-item .flex-item-leading {