From a1913988d7eb806c54fc75ac3035d1b4c98f841a Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 29 Jun 2024 23:02:10 +0600 Subject: [PATCH] web/settings: adjust padding for switcher & toggle --- web/src/components/buttons/SettingsToggle.svelte | 2 +- web/src/components/buttons/Switcher.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/buttons/SettingsToggle.svelte b/web/src/components/buttons/SettingsToggle.svelte index ccbc1b2c..04dd9ac2 100644 --- a/web/src/components/buttons/SettingsToggle.svelte +++ b/web/src/components/buttons/SettingsToggle.svelte @@ -59,7 +59,7 @@ justify-content: space-between; text-align: left; transform: none; - padding: 8px 16px; + padding: 9px 16px; border-radius: var(--border-radius); } diff --git a/web/src/components/buttons/Switcher.svelte b/web/src/components/buttons/Switcher.svelte index 4b0cb333..515b137c 100644 --- a/web/src/components/buttons/Switcher.svelte +++ b/web/src/components/buttons/Switcher.svelte @@ -35,7 +35,7 @@ .switcher.big :global(.button) { width: 100%; - height: calc(40px - var(--sidebar-inner-padding)); + height: calc(40px - var(--sidebar-inner-padding) * 1.5); border-radius: calc(var(--border-radius) - var(--sidebar-inner-padding));; }