client: add an option to center the content

This commit is contained in:
Adorian Doran
2025-11-07 18:17:28 +02:00
parent 2d03dd22e3
commit fa64ca2c93
9 changed files with 32 additions and 8 deletions

View File

@@ -40,6 +40,8 @@ const TPL = /*html*/`
<style>
.note-detail {
max-width: var(--max-content-width); /* Inherited from .note-split */
/* Inherited from .note-split. If set to "auto" the note detail widget will be centered horizontally. */
margin-inline: var(--content-margin-inline);
font-family: var(--detail-font-family);
font-size: var(--detail-font-size);
}