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
client/ui/icon picker: fix an issue
Adorian Dorana28ea9dd11db
diff --git a/apps/client/src/widgets/react/IconPicker.tsx b/apps/client/src/widgets/react/IconPicker.tsxindex a7829165a6..88dcbdaa3a 100644--- a/apps/client/src/widgets/react/IconPicker.tsx+++ b/apps/client/src/widgets/react/IconPicker.tsx@@ -225,6 +225,10 @@ function IconPickerModalButton({className="note-icon"icon={icon}text={title}+ // The dropdown button a desktop shows is a `btn`, which the note icon's own rules+ // size. `icon-action` instead is sized by the theme as a toolbar button, which is+ // larger, so the same icon would be drawn differently on the two.+ noIconActionClassonClick={() => {setModalShown(true);onOpened?.();