mirror of
https://github.com/zadam/trilium.git
synced 2026-02-07 22:34:24 +01:00
chore(client): address requested changes
This commit is contained in:
parent
c02642d0f9
commit
ca128f2fa9
@ -86,7 +86,7 @@ function MobileNoteIconSwitcher({ note, icon }: {
|
||||
className="icon-switcher note-icon-widget"
|
||||
scrollable
|
||||
>
|
||||
{note && <NoteIconList note={note} onHide={() => setModalShown(false)} columnCount={Math.floor(windowWidth / ICON_SIZE)} />}
|
||||
{note && <NoteIconList note={note} onHide={() => setModalShown(false)} columnCount={Math.max(1, Math.floor(windowWidth / ICON_SIZE))} />}
|
||||
</Modal>
|
||||
), document.body)}
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user