Skip to content

Build your personal knowledge base with Trilium Notes

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.tsx
index 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.
+ noIconActionClass
onClick={() => {
setModalShown(true);
onOpened?.();