Skip to content

Commit 541f33d

Browse files
committed
fix(ui): fix footnotes icon positioning and size as font size changes
1 parent a0772bb commit 541f33d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/ui/src/components/verse.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ const VerseFootnoteButton = memo(function VerseFootnoteButton({
129129
<PopoverTrigger data-yv-sdk asChild>
130130
<button
131131
type="button"
132-
className="yv:inline-flex yv:align-super yv:cursor-pointer yv:ml-1 yv:text-(--yv-gray-20)"
132+
className="yv:inline-flex yv:align-middle yv:cursor-pointer yv:ml-1! yv:text-(--yv-gray-20)"
133133
>
134-
<Footnote />
134+
<Footnote className="yv:size-[1.5em]" />
135135
</button>
136136
</PopoverTrigger>
137137
<PopoverContent

0 commit comments

Comments
 (0)