From d6f7c49b8b93245c1640b5226a1fc00738386321 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Thu, 2 Nov 2023 13:24:03 +0800 Subject: [PATCH] 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 --- web_src/css/modules/divider.css | 4 ++-- web_src/css/shared/flex-list.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web_src/css/modules/divider.css b/web_src/css/modules/divider.css index 8c9649d6ba8..48560bd3d90 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 93d8c9b49ca..e1ad6e7f973 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 {