mirror of
https://github.com/zadam/trilium.git
synced 2026-02-17 19:24:28 +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"
|
className="icon-switcher note-icon-widget"
|
||||||
scrollable
|
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>
|
</Modal>
|
||||||
), document.body)}
|
), document.body)}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user