fix: inconsistent font size

This commit is contained in:
Xylight committed 2024-09-22 14:59:13 -07:00
1 parent 62e20fcb69
commit 30d83ea28c
2 files changed
+5 -3

No files matched your search

@@ -33,11 +33,12 @@
this={htmlElement}
style={$$props.style ?? ''}
class="{!expanded
? `text-sm overflow-hidden
? ` overflow-hidden
bg-gradient-to-b text-transparent from-slate-600 via-slate-600
dark:from-zinc-400 dark:via-zinc-400 bg-clip-text z-0
${view == 'list' ? `max-h-24` : 'max-h-48'}`
: 'text-slate-600 dark:text-zinc-400 max-h-full'} {$$props.class ?? ''}"
: 'text-slate-600 dark:text-zinc-400 max-h-full'} text-base {$$props.class ??
''}"
class:pointer-events-none={!clickThrough}
bind:this={element}
>