mirror of
https://github.com/zadam/trilium.git
synced 2026-02-11 08:14:39 +01:00
feat(mobile/note_icon): improve height and fit
This commit is contained in:
parent
b090eb9359
commit
490d940cd1
@ -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%;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user