diff --git a/apps/client/src/widgets/note_wrapper.ts b/apps/client/src/widgets/note_wrapper.ts index 9d1be7794..d524a5195 100644 --- a/apps/client/src/widgets/note_wrapper.ts +++ b/apps/client/src/widgets/note_wrapper.ts @@ -71,7 +71,7 @@ export default class NoteWrapperWidget extends FlexContainer { } #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; }