web/Switcher: add a gap between items

This commit is contained in:
wukko 2024-10-12 19:07:05 +06:00
parent ebf157862a
commit e34b8dd89c
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
2 changed files with 3 additions and 2 deletions

View file

@ -47,6 +47,7 @@
background: var(--button); background: var(--button);
box-shadow: var(--button-box-shadow); box-shadow: var(--button-box-shadow);
padding: var(--switcher-padding); padding: var(--switcher-padding);
gap: calc(var(--switcher-padding) - 1.5px);
} }
.switcher :global(.button.active) { .switcher :global(.button.active) {

View file

@ -24,8 +24,8 @@
</Switcher> </Switcher>
</SettingsCategory> </SettingsCategory>
<SettingsCategory <SettingsCategory
sectionId="bitrate" sectionId="bitrate"
title={$t("settings.audio.bitrate")} title={$t("settings.audio.bitrate")}
disabled={["wav", "best"].includes($settings.save.audioFormat)} disabled={["wav", "best"].includes($settings.save.audioFormat)}
> >