mirror of
https://github.com/zadam/trilium.git
synced 2026-07-06 01:18:42 +02:00
style/similar notes: fix font size variation according to similarity
This commit is contained in:
@@ -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"
|
||||
}}
|
||||
/>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user