style/similar notes: fix font size variation according to similarity

This commit is contained in:
Adorian Doran 2026-02-09 19:12:47 +02:00
parent 1eafda36a9
commit 68d21669e7

View File

@ -33,7 +33,7 @@ export default function SimilarNotesTab({ note }: Pick<TabContext, "note">) {
notePath={notePath}
noTnLink
style={{
"font-size": 20 * (1 - 1 / (1 + score))
"font-size": (20 * (1 - 1 / (1 + score))) + "px"
}}
/>
))}