fix(status_bar): code mime switcher is clipped

This commit is contained in:
Elian Doran 2025-12-13 01:07:30 +02:00
parent 23062470f5
commit db04514769
No known key found for this signature in database
2 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,11 @@
padding: 0;
}
}
.dropdown-code-note-switcher {
max-height: 90vh;
overflow: scroll;
}
}
> .attribute-list {

View File

@ -360,6 +360,7 @@ function CodeNoteSwitcher({ note }: StatusBarContext) {
icon="bx bx-code-curly"
text={correspondingMimeType?.title}
title={t("status_bar.code_note_switcher")}
dropdownContainerClassName="dropdown-code-note-switcher"
dropdownOptions={{ autoClose: true }}
>
<NoteTypeCodeNoteList