From f07aac301c1dd8f37943dd5a566e22a1c17bad0e Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 21 Jul 2024 13:49:22 +0600 Subject: [PATCH] web/SmallDialog: focus title first when it's visible --- web/src/components/dialog/SmallDialog.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/components/dialog/SmallDialog.svelte b/web/src/components/dialog/SmallDialog.svelte index ed575f9e..11d6ba3b 100644 --- a/web/src/components/dialog/SmallDialog.svelte +++ b/web/src/components/dialog/SmallDialog.svelte @@ -57,7 +57,7 @@ {/if} {#if title} -

{title}

+ {/if} {/if} @@ -189,7 +189,8 @@ -webkit-user-select: text; } - .body-text:focus-visible { + .body-text:focus-visible, + h2:focus-visible { box-shadow: none !important; }