mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 04:14:26 +01:00
fix(status_bar): code mime switcher is clipped
This commit is contained in:
parent
23062470f5
commit
db04514769
@ -90,6 +90,11 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropdown-code-note-switcher {
|
||||||
|
max-height: 90vh;
|
||||||
|
overflow: scroll;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .attribute-list {
|
> .attribute-list {
|
||||||
|
|||||||
@ -360,6 +360,7 @@ function CodeNoteSwitcher({ note }: StatusBarContext) {
|
|||||||
icon="bx bx-code-curly"
|
icon="bx bx-code-curly"
|
||||||
text={correspondingMimeType?.title}
|
text={correspondingMimeType?.title}
|
||||||
title={t("status_bar.code_note_switcher")}
|
title={t("status_bar.code_note_switcher")}
|
||||||
|
dropdownContainerClassName="dropdown-code-note-switcher"
|
||||||
dropdownOptions={{ autoClose: true }}
|
dropdownOptions={{ autoClose: true }}
|
||||||
>
|
>
|
||||||
<NoteTypeCodeNoteList
|
<NoteTypeCodeNoteList
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user