Fix font size bug in tag component

- an inherited large font size makes the icon shift vertically
This commit is contained in:
Mattias Granlund 2023-12-03 00:06:14 +01:00
parent 2f24c3eca6
commit 974055dc85

View File

@ -20,7 +20,7 @@
</script>
<div
class="tag"
class="tag text-base-11 text-semibold"
class:success={color == 'success'}
class:error={color == 'error'}
class:warning={color == 'warning'}
@ -33,7 +33,7 @@
on:click
role={clickable ? 'button' : undefined}
>
<span class="label text-base-11 text-semibold">
<span class="label">
<slot />
</span>
{#if icon}