Skip to content

ColorInput: centre the hex text when no label floats above it - #596

Merged
lorant-one merged 1 commit into
previewfrom
claude/project-thread-pjr7bw
Nov 24, 2026
Merged

lorant-one merged 1 commit into
previewfrom
claude/project-thread-pjr7bw

Conversation

@lorant-one

Copy link
Copy Markdown
Member

Without a label, or at xxs (which hides it), the hex overlay started at the field's middle and drew the value below it, so the text sat low and looked broken. It now centres on that line, as the clear button beside it already does. Labelled fields at xs–xl are unchanged.

Found in the Studio's Customize panels (unlabelled colour field in a Setting row). Verified by patching the built ColorInput in studio and screenshotting the field before and after. Candidate for 3.1.


Generated by Claude Code

Without a label (or at xxs, which hides it) the value overlay started at the
field's middle and drew the text below it. It now centres on that line, as the
clear button beside it already does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtyKmSwgfW5oE9brdAU

Copy link
Copy Markdown
Member Author

The visual Compare failure is this PR's intended change: only /form-controls/colorInput moved (271 px, 0.37%), where the unlabelled demo's hex text now sits centred. Labelled visual-change.


Generated by Claude Code

@lorant-one
lorant-one merged commit 807b44d into preview Nov 24, 2026
13 of 14 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 24, 2026
27 tasks done
@lorant-one lorant-one added the approved label Nov 24, 2026 — with Claude
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants