Skip to content

Commit f6e05d1

Browse files
committed
fix: made it responsive
1 parent 5b45b57 commit f6e05d1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/lib/components/animatedBadge.svelte

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,8 @@
4141
}
4242
</script>
4343

44-
<Badge size="xs" variant="secondary" content={displayText} style="min-height: 1.5em;" />
44+
<Badge
45+
size="xs"
46+
variant="secondary"
47+
content={displayText}
48+
style="min-height: 1.5em; white-space: nowrap; padding: 0.25rem 1rem; align-items: center;" />

0 commit comments

Comments
 (0)