mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 12:50:01 +00:00
web/settings/download: fix padding for filename preview
This commit is contained in:
parent
063f5d1806
commit
1debf3e639
1 changed files with 26 additions and 14 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue