web/settings/download: fix padding for filename preview

This commit is contained in:
wukko 2024-08-30 21:31:21 +06:00
parent 063f5d1806
commit 1debf3e639
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -11,6 +11,7 @@
</script>
<SettingsCategory sectionId="filename" title={$t("settings.metadata.filename")}>
<div class="category-inside-group">
<Switcher big={true}>
{#each filenameStyleOptions as value}
<SettingsButton
@ -22,9 +23,8 @@
</SettingsButton>
{/each}
</Switcher>
<FilenamePreview />
</div>
<div class="subtext">
{$t("settings.metadata.filename.description")}
</div>
@ -55,3 +55,15 @@
description={$t("settings.metadata.disable.description")}
/>
</SettingsCategory>
<style>
.category-inside-group {
display: flex;
flex-direction: column;
gap: 6px;
}
.subtext {
margin-top: -3px;
}
</style>