feat: add note layout preference

This commit is contained in:
lucaronin
2026-04-26 04:41:18 +02:00
parent 5fd8f8fb40
commit c7edc71a97
19 changed files with 277 additions and 16 deletions

View File

@@ -204,6 +204,22 @@
width: 100%;
}
.editor-content-layout--left .editor-content-wrapper {
margin-left: clamp(16px, 6%, 96px);
margin-right: auto;
}
.raw-editor-codemirror {
max-width: var(--editor-max-width, 760px);
width: 100%;
margin: 0 auto;
}
.editor-content-layout--left .raw-editor-codemirror {
margin-left: clamp(16px, 6%, 96px);
margin-right: auto;
}
/* --- Note Icon Area --- */
.note-icon-area {
display: flex;
@@ -322,3 +338,11 @@
padding: 12px 0;
}
}
@container editor (max-width: 900px) {
.editor-content-layout--left .editor-content-wrapper,
.editor-content-layout--left .raw-editor-codemirror {
margin-left: auto;
margin-right: auto;
}
}