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

@@ -14,7 +14,7 @@
const setSelected = () => (selected = sort)
</script>
<div class="flex flex-row gap-4 {$$props.class}">
<div class="flex flex-row gap-2 {$$props.class}">
{#if selected?.startsWith('Top')}
<div transition:fly={{ x: 4 }}>
<Select
@@ -65,14 +65,14 @@
target="_blank"
class="text-slate-700 dark:text-zinc-300 inline-flex items-center gap-1 text-sm"
>
<Icon src={LinkIcon} size="14" mini slot="icon" />
<Icon src={LinkIcon} size="14" mini slot="icon" class="flex-shrink-0" />
{#if richURL}
<span>
<div class="flex max-w-full overflow-hidden">
{richURL.hostname}
</span>
<span class="text-slate-500 dark:text-zinc-500">
{richURL.pathname}
</span>
<span class="text-slate-500 dark:text-zinc-500 whitespace-nowrap">
{richURL.pathname}
</span>
</div>
{:else}
{url}
{/if}