From 55ce09d6f458eea15598b2122660079bbf558395 Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 27 Apr 2025 20:59:14 +0600 Subject: [PATCH] web/Switcher: fix box-shadow --- web/src/components/buttons/Switcher.svelte | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/src/components/buttons/Switcher.svelte b/web/src/components/buttons/Switcher.svelte index cb5667cd..57ad9882 100644 --- a/web/src/components/buttons/Switcher.svelte +++ b/web/src/components/buttons/Switcher.svelte @@ -76,10 +76,7 @@ width: 100%; /* [base button height] - ([switcher padding] * [padding factor to accommodate for]) */ height: calc(40px - var(--switcher-padding) * 2); - border-radius: calc(var(--border-radius) - var(--switcher-padding));; - } - - .switcher.big { + border-radius: calc(var(--border-radius) - var(--switcher-padding)); box-shadow: none; }