From ca128f2fa9ba8cf4bb7cb69014491f05c76afdf9 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 2 Feb 2026 21:19:35 +0200 Subject: [PATCH] chore(client): address requested changes --- apps/client/src/widgets/note_icon.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/note_icon.tsx b/apps/client/src/widgets/note_icon.tsx index 6c79bc8017..5f9c1fb81d 100644 --- a/apps/client/src/widgets/note_icon.tsx +++ b/apps/client/src/widgets/note_icon.tsx @@ -86,7 +86,7 @@ function MobileNoteIconSwitcher({ note, icon }: { className="icon-switcher note-icon-widget" scrollable > - {note && setModalShown(false)} columnCount={Math.floor(windowWidth / ICON_SIZE)} />} + {note && setModalShown(false)} columnCount={Math.max(1, Math.floor(windowWidth / ICON_SIZE))} />} ), document.body)}