fix(studyset): put the license year beside the license field #823
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
project-halkyon/halkyon-learn!823
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/823/head"
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?
The copyright year sat on its own line under the license holder, in a
box 168px wide. Nothing but four digits can ever be typed into it — the
input formatters see to that — so the row it occupied was mostly empty,
and a box that wide invites prose into a field that cannot hold any.
License and Year now share one line: the license id takes whatever width
is left, the year is parked at the right end at a fixed 140px. The
warning rows, the holder, and the inherited-license note keep their
full-width places below, so only the two fields that belong together
moved.
140, not less: the help button is a 48px tap target and the content
padding takes another 24, which leaves the digits the rest. Measured
against a font whose digits are a full em wide — at 120 the text already
scrolls out of the box there, and every real font's digits are narrower
than that, so this has room to spare. The range error, several times
wider than the box, wraps beneath it rather than being clipped.
The two fields moved into builders. At the nesting depth of the sheet's
form they would otherwise wrap into an unreadable column; the field code
itself is unchanged.
The new test pins the arrangement rather than the numbers: same top
edge, year to the right of the license box, narrower than it, and four
digits that fit without scrolling.
Signed-off-by: Tizian 「ティツィアーン」 raisondetredev@pm.me