Skip to content

Let a declared page use the screen it is given - #372

Merged
czpython merged 1 commit into
mainfrom
commonzenpython/eng-915-let-a-declared-page-use-the-screen-it-is-given
Aug 31, 2026
Merged

czpython merged 1 commit into
mainfrom
commonzenpython/eng-915-let-a-declared-page-use-the-screen-it-is-given

Conversation

@czpython

Copy link
Copy Markdown
Owner

ENG-915

A Druks UI page was the narrowest surface in the dashboard.

.dui-page capped at 900px. Nothing else does: page-work-items,
page-reviews, page-projects, page-run and page-history set no width at
all, and the shell's own widest page, page-usage, caps at 1400px and centres
with margin: 0 auto. .dui-page had no margin either, so the column sat left
and every spare pixel piled up on the right. On a wide display a table scrolled
inside .dui-table-scroll while a thousand pixels of screen sat empty beside
it.

The cap was earning nothing. Prose already carries its own measure — .dui-text
and .dui-description at 68ch, .dui-markdown at 58ch, .dui-callout at 76ch
— and .dui-form stops at 520px. The page cap only starved the blocks that
wanted room.

What changed

.dui-page sets padding and no width. A block that would otherwise only
stretch keeps a measure of 860px, which is the width it has today inside the
old cap: a chart's plot, a fact list's value column, a progress head. Those
look exactly as they did.

A table, an image gallery, Columns, a timeline and a metric row now take the
width they are given. An image gallery gains columns on a wide screen, because
its grid was already auto-fill.

How it is verified

npm run lint, npm test (229 tests) and npm run build pass.

The layout itself is read from the cascade rather than rendered: .dui-page
carried the only width rule on the element, the three blocks that stretch now
carry their own, and every other bounded block already did. The preview pane
cannot render a page from this worktree, so a screenshot on a wide display is
worth taking before this merges.

@mintlify

mintlify Bot commented Aug 31, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
druks 🟢 Ready View Preview Aug 31, 2026, 9:41 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

A Druks UI page capped at 900px while every other app page in the dashboard
fills the screen, and with no margin the column sat left with the slack piled
on the right. Prose already carries its own measure and a form stops at 520px,
so the page cap only starved the blocks that wanted room. A fact list now sizes
to its facts, and the two blocks that draw rather than read grow with the page
to a bound.
@czpython
czpython force-pushed the commonzenpython/eng-915-let-a-declared-page-use-the-screen-it-is-given branch from 3481290 to e4931e9 Compare August 31, 2026 09:44
@czpython
czpython merged commit 07b0206 into main Aug 31, 2026
2 checks passed
@czpython
czpython deleted the commonzenpython/eng-915-let-a-declared-page-use-the-screen-it-is-given branch August 31, 2026 09:45

This branch was successfully deployed

1 active deployment
staging - docs — e4931e9b Deployed Aug 31, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant