fix: make sort dropdowns gap smaller

This commit is contained in:
Xylight committed 2024-03-15 14:34:51 -07:00
1 parent 08fcf18573
commit 8a63202074
8 files changed
+17 -17

No files matched your search

@@ -0,0 +1,22 @@
<script lang="ts">
import { userSettings } from '$lib/settings.js'
import { Select } from 'mono-svelte'
import { Icon, ViewColumns } from 'svelte-hero-icons'
export let showLabel = true
</script>
<Select bind:value={$userSettings.view}>
<svelte:fragment slot="label">
{#if showLabel}
<span class="flex items-center gap-1">
<Icon src={ViewColumns} size="14" mini />
View
</span>
{/if}
</svelte:fragment>
<option value="card">Cards</option>
<option value="cozy">Cozy</option>
<option value="list">List</option>
<option value="compact">Compact</option>
</Select>