feat(config): add pageWidth setting to .remanso.json

Allows repo owners to configure note column width via `"pageWidth": "700px"` in .remanso.json. Applies the value to the --note-width CSS variable and invalidates the cached width so resize/overlay hooks pick it up.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Julien Calixte
2026-04-22 23:34:26 +02:00
parent 1f272bc3e2
commit ee8bbd4a37
3 changed files with 12 additions and 0 deletions

View File

@@ -10,3 +10,7 @@ export const getNoteWidth = () => {
}
return cached
}
export const resetNoteWidthCache = () => {
cached = undefined
}