Skip to content

best way to save what you love

web/Switcher: add box-shadow to active item

wukko64680e162a4b
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;
}