diff options
author | Wolfgang Müller | 2025-02-14 16:33:13 +0100 |
---|---|---|
committer | Wolfgang Müller | 2025-02-14 16:33:13 +0100 |
commit | 2648650c12471a24a29e4e9a4e2ac77940cd96ff (patch) | |
tree | 59c6796f7c296de20624434ef2ecbafe73e9cedd /frontend/src/lib/tabs/Tabs.svelte | |
parent | 5f64054ba7cd4d275c820cbbfa9232017d708b3d (diff) | |
download | hircine-2648650c12471a24a29e4e9a4e2ac77940cd96ff.tar.gz |
frontend: Further improve highlight focus
Diffstat (limited to 'frontend/src/lib/tabs/Tabs.svelte')
-rw-r--r-- | frontend/src/lib/tabs/Tabs.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/lib/tabs/Tabs.svelte b/frontend/src/lib/tabs/Tabs.svelte index 3c5611e..c2b12af 100644 --- a/frontend/src/lib/tabs/Tabs.svelte +++ b/frontend/src/lib/tabs/Tabs.svelte @@ -36,7 +36,7 @@ <button type="button" class:active={context.current === id} - class="relative flex gap-1 p-1 px-3 hover:border-b-2 hover:border-slate-200 [&.active]:border-b-2 [&.active]:border-indigo-500" + class="relative flex gap-1 p-1 px-3 hover:border-b-2 hover:border-slate-200 focus-visible:border-b-2 focus-visible:!border-slate-200 focus-visible:outline-hidden [&.active]:border-b-2 [&.active]:border-indigo-500" onclick={() => (context.current = id)} > {#if badges[id]} |