client: make code notes full-width

This commit is contained in:
Adorian Doran 2025-10-30 01:03:22 +02:00
parent a370b52614
commit 8b4fee1680

View File

@ -71,7 +71,7 @@ export default class NoteWrapperWidget extends FlexContainer<BasicWidget> {
}
#isFullWidthNote(note: FNote) {
if (["image", "mermaid", "book", "render", "canvas", "webView", "mindMap"].includes(note.type)) {
if (["code", "image", "mermaid", "book", "render", "canvas", "webView", "mindMap"].includes(note.type)) {
return true;
}