Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): max content width not preserved (closes #8065)

Elian Doran5cc7b259ce59
diff --git a/apps/client/src/widgets/NoteDetail.tsx b/apps/client/src/widgets/NoteDetail.tsx
index c2f2120443..ef9d68c992 100644
--- a/apps/client/src/widgets/NoteDetail.tsx
+++ b/apps/client/src/widgets/NoteDetail.tsx
@@ -215,7 +215,7 @@ export default function NoteDetail() {
return (
<div
ref={containerRef}
- class={`note-detail ${isFullHeight ? "full-height" : ""}`}
+ class={`component note-detail ${isFullHeight ? "full-height" : ""}`}
>
{Object.entries(noteTypesToRender).map(([ itemType, Element ]) => {
return <NoteDetailWrapper