From 02cedb837def7871792960919ffde9a515b9a0f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20H=C3=A4ggqvist?= Date: Wed, 8 Sep 2021 21:21:13 +0200 Subject: [PATCH 1/2] use consistent margin-bottom for all alert kinds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Victor Häggqvist --- web/ui/react-app/src/themes/_shared.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/ui/react-app/src/themes/_shared.scss b/web/ui/react-app/src/themes/_shared.scss index d9a8138feb..12a1e8bc91 100644 --- a/web/ui/react-app/src/themes/_shared.scss +++ b/web/ui/react-app/src/themes/_shared.scss @@ -135,8 +135,9 @@ input[type='checkbox']:checked + label { flex-wrap: nowrap; } -.alert.alert-danger { - margin-bottom: 10px; +.alert { + padding: 10px; + margin-bottom: .2rem; } .nav-tabs .nav-link { From 9aaea327a08c7c326b2790be64cbdc63c72518f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20H=C3=A4ggqvist?= Date: Fri, 10 Sep 2021 21:21:22 +0200 Subject: [PATCH 2/2] use same top and bottom margin for alert filename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Victor Häggqvist --- web/ui/react-app/src/themes/_shared.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/web/ui/react-app/src/themes/_shared.scss b/web/ui/react-app/src/themes/_shared.scss index 12a1e8bc91..c47d07f8b2 100644 --- a/web/ui/react-app/src/themes/_shared.scss +++ b/web/ui/react-app/src/themes/_shared.scss @@ -321,6 +321,7 @@ input[type='checkbox']:checked + label { display: flex; justify-content: space-between; margin-bottom: 10px; + margin-top: 10px; padding: 10px; }