From c12088e29717bec7ad7b5a1d715775eb889d7275 Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 23 Jul 2024 13:18:08 +0600 Subject: [PATCH] web/SmallDialog: flex container for header & icon fixes stranded padding --- web/src/components/dialog/SmallDialog.svelte | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/web/src/components/dialog/SmallDialog.svelte b/web/src/components/dialog/SmallDialog.svelte index 20482dd1..1e55259b 100644 --- a/web/src/components/dialog/SmallDialog.svelte +++ b/web/src/components/dialog/SmallDialog.svelte @@ -127,7 +127,15 @@ font-size: 19px; } - .popup-header .popup-icon.warn-red :global(svg) { + .popup-header, + .popup-icon { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + } + + .popup-icon.warn-red :global(svg) { stroke-width: 1.5px; height: 50px; width: 50px;