Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style/similar notes: fix font size variation according to similarity
Adorian Doran68d21669e7bb
diff --git a/apps/client/src/widgets/ribbon/SimilarNotesTab.tsx b/apps/client/src/widgets/ribbon/SimilarNotesTab.tsxindex c8dc1337fe..ffac9ae7ae 100644--- a/apps/client/src/widgets/ribbon/SimilarNotesTab.tsx+++ b/apps/client/src/widgets/ribbon/SimilarNotesTab.tsx@@ -33,7 +33,7 @@ export default function SimilarNotesTab({ note }: Pick<TabContext, "note">) {notePath={notePath}noTnLinkstyle={{- "font-size": 20 * (1 - 1 / (1 + score))+ "font-size": (20 * (1 - 1 / (1 + score))) + "px"}}/>))}