From dc52f26d46f12b7e3c647bec3514e6c66684a3af Mon Sep 17 00:00:00 2001 From: silverwind Date: Thu, 2 Nov 2023 05:30:38 +0100 Subject: [PATCH] Reduce margin/padding on flex-list items and divider (#27872) 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 8c9649d6b..48560bd3d 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 93d8c9b49..e1ad6e7f9 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 {