feat(mobile/note_icon): improve height and fit

This commit is contained in:
Elian Doran 2026-02-02 13:23:55 +02:00
parent b090eb9359
commit 490d940cd1
No known key found for this signature in database
2 changed files with 5 additions and 0 deletions

View File

@ -129,6 +129,8 @@ body.mobile .modal.icon-switcher {
.modal-body {
padding: 0;
display: flex;
flex-direction: column;
> .filter-row {
padding: 0 var(--bs-modal-padding) var(--bs-modal-padding) var(--bs-modal-padding);
@ -137,5 +139,7 @@ body.mobile .modal.icon-switcher {
.icon-list {
margin: auto;
flex-grow: 1;
height: 100%;
}
}

View File

@ -82,6 +82,7 @@ function MobileNoteIconSwitcher({ note, icon }: {
size="xl"
show={modalShown} onHidden={() => setModalShown(false)}
className="icon-switcher note-icon-widget"
scrollable
>
{note && <NoteIconList note={note} onHide={() => setModalShown(false)} columnCount={Math.floor(windowWidth / 48)} />}
</Modal>