Skip to content

MascotPanel: tidy the One color row; small panels shrink segmented controls - #602

Merged
lorant-one merged 1 commit into
previewfrom
fix/mascot-panel-small-controls
Nov 24, 2026
Merged

lorant-one merged 1 commit into
previewfrom
fix/mascot-panel-small-controls

Conversation

@lorant-one

Copy link
Copy Markdown
Member

Lorant reported two issues with the mascot panel.

The "One color" picker didn't feel right

  • The Switch floated above the field, the clear X overlapped the hex, and the field was oversized.
  • Fix: the Switch now stays at the end of the row, where every other on/off row has it. When it's on, the field opens to its left on the same line. The field is a fixed 176px and uses the compact field size (xs, or xxs in a size="s" panel), so the hex and the clear button no longer meet.
  • The body's custom color field gets the same sizing.

size="s" panels didn't shrink their segmented controls

  • Fix: StylePanel and MascotPanel size="s" now drop SegmentedControl buttons one size, to m beside a label and s when stacked.
  • Measured in the docs: the Surface and Motion groups go from 50px to 42px tall in the small panel.

Tests

  • Updated the custom-color field test for the fixed width.
  • All 400 blocks tests pass.

Generated by Claude Code

…ntrols

- One color (and the body's custom color): the switch stays at the row's
  end like every other on/off row, and the field opens to its left on the
  same line at a fixed 176px and a compact size, so the hex and the clear
  button no longer overlap and nothing floats above the field.
- size="s" panels drop their SegmentedControl buttons a size (m beside a
  label, s stacked), to match the tighter rows.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016gNJtwQuhoLQdpygLCVEyk
@lorant-one
lorant-one merged commit 2837433 into preview Nov 24, 2026
8 checks passed
@lorant-one lorant-one added the approved label Nov 24, 2026 — with Claude
@lorant-one lorant-one mentioned this pull request Nov 24, 2026
7 tasks done
@lorant-one
lorant-one deleted the fix/mascot-panel-small-controls branch November 29, 2026 13:45
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