From 64680e162a4ba910a32ce360c00862c83bd844fc Mon Sep 17 00:00:00 2001 From: wukko Date: Thu, 27 Feb 2025 20:41:11 +0600 Subject: [PATCH] web/Switcher: add box-shadow to active item --- web/src/components/buttons/Switcher.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/src/components/buttons/Switcher.svelte b/web/src/components/buttons/Switcher.svelte index 905d86e5..3360d57b 100644 --- a/web/src/components/buttons/Switcher.svelte +++ b/web/src/components/buttons/Switcher.svelte @@ -87,6 +87,10 @@ background-color: transparent; } + .switcher.big :global(.button:active:not(.active)) { + box-shadow: var(--button-box-shadow); + } + .switcher:not(.big) :global(.button:not(:first-child, :last-child)) { border-radius: 0; }