Your details, Settings and Server settings sit in a narrow column: they should use the full width of the page #198
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Postulo/postulo#198
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observation
Your details, Settings and Server settings sit in a narrow column in the middle of
a wide screen. Each is a sidebar beside a page, and on a monitor wider than a laptop's the
pair is capped well short of the screen, with the sidebar taking a good share of what is
left. They should use the full width of the page, as the tables, the board and the
dashboard do since #188.
What caps them, in layers
base.html:135caps<main>atmax-w-7xl(1280 pixels) unless a page empties themain_widthblock. Fourteen templates do — every table, list and grid — and none of thesethree. Then each of the three adds a tighter cap of its own inside that:
<main>accounts/profile.html:7mx-auto max-w-4xl(896 px)lg:w-56at:23-28settings/base.html:9mx-auto max-w-5xl(1024 px)lg:w-56at:10server/base.html:7mx-auto max-w-5xl(1024 px)lg:w-56at:8So Your details — nine parts down one page since #180, with its sidebar — draws its
form in roughly 640 pixels on a 2560-pixel screen. Three server pages narrow further
still on their own (
person_delete.html:5andperson_username.html:5atmax-w-md,person_recovery.html:5atmax-w-2xl), which is fine for a one-question form and isnot what this issue is about.
The rule this touches
#188 drew a line and wrote it into the changelog: grids use the whole screen;
everything else keeps its measure, because "a wide page is not a wide paragraph". These
three pages are mostly forms and prose, which is exactly what that rule keeps narrow. The
request is to widen them anyway, and there are two honest readings of why that is right:
level even when the page inside it is a form: the sidebar wants its column, the page
wants the rest, and capping the pair at 1024 pixels starves both. The measure that
matters for reading is the width of a field or a paragraph, and that can be kept on the
field (
field-inputalready has widths of its own in places) or on a text block,rather than on the whole frame.
columns, and the plugins page is the one #184 and #186 have been adding tags and
sentences to; at 1024 pixels minus a sidebar they wrap the way the tables did before
#188.
What a fix has to settle
main_widthin the three frames (profile.html,settings/base.html,server/base.html) and drop the innermax-w-4xl/max-w-5xl, so sidebar and pageshare the screen with the 16-pixel gutters
<main>already keeps.pixels: a cap on the content column inside the frame, or on fields and paragraphs, or
a decision that these pages' cards may be wide. The #188 comment in
base.htmlsays whythe line is where it is and should say the new line.
settings/base.html'spanelblock) inherit whatever the frame does; check them, theywere the reason the
panelblock exists.max-w-md; that is a different question.(
tests/e2e/test_accessibility.py), and #165 and #167 found overflows precisely whenwidths changed; that is the check to keep green.