Let page columns grow on wide screens
CI / desktop (ubuntu-latest) (push) Failing after 1h8m54s
CI / desktop (macos-latest) (push) Canceled after 0s
CI / desktop (windows-latest) (push) Canceled after 0s
CI / go (Media) (push) Successful in 14m30s
CI / mobile (push) Failing after 5m55s
CI / go (Server) (push) Failing after 15m17s
CI / docker (push) Successful in 35m57s
CI / go (Web-App) (push) Successful in 13m41s
Docs / build (push) Canceled after 0s
Docs / deploy (push) Canceled after 0s
CI / frontend (push) Failing after 18m0s

Full width pages now fill the window instead of stopping at 1040px,
on the web and in the native editor. The standard and wide columns
widen on very large windows (up to 960px and 1440px) and are
unchanged below 1800px.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tajniak81andClaude Opus 5.5 committed 2026-11-17 13:29:23 +01:00
1 parent fa17016456
commit 3ef7fe3fe6
3 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -27,5 +27,5 @@ body {
padding: 16px max(16px, env(safe-area-inset-right)) 96px max(16px, env(safe-area-inset-left));
}
.dw-full-width #editor {
max-width: var(--container-doc-wide);
max-width: none;
}
+3 -2
View File
@@ -97,8 +97,9 @@
--shadow-dialog: var(--dw-shadow-dialog);
/* Sizes: max-w-doc, w-sidebar, h-control-md … (spacing is Tailwind's 4px scale). */
--container-doc: 720px;
--container-doc-wide: 1040px;
/* Columns grow on very wide windows: 720px until 1800px, then 40vw up to 960px. */
--container-doc: clamp(720px, 40vw, 960px);
--container-doc-wide: clamp(1040px, 55vw, 1440px);
--spacing-sidebar: 264px;
--spacing-control-sm: 28px;
--spacing-control-md: 34px;
+1 -1
View File
@@ -889,7 +889,7 @@ const purge = () =>
class="dw-print-page mx-auto min-w-0 flex-1 px-4 pt-6 pb-16 sm:px-16 sm:pt-10"
:class="[
record ? '[&>*:not(.dw-record-host)]:hidden' : '',
page?.fullWidth ? 'max-w-doc-wide' : 'max-w-doc',
page?.fullWidth ? 'max-w-none' : 'max-w-doc',
page?.font ? `dw-font-${page.font}` : '',
prefs.textSize !== 'md' ? `dw-size-${prefs.textSize}` : '',
]"