Skip to content

fix(ColorPicker): presets label spacing and no-op space-y-2 wrappers (#598) - #603

Merged
mathewtaylor merged 1 commit into
v4.2.0from
foreman/ml-511
Oct 10, 2026
Merged

mathewtaylor merged 1 commit into
v4.2.0from
foreman/ml-511

Conversation

@mathewtaylor

Copy link
Copy Markdown
Contributor

Fixes #598.

  • The presets label is an inline <span>, so the wrapper's bb:space-y-2 margin never applied. Added bb:block so the label sits a small gap above the swatches.
  • Removed bb:space-y-2 from the hue and alpha slider wrappers. Each has a single child, so the class had no effect.

Kept to class changes only, so it rebases cleanly against #600, which edits the same label line.

…ce-y-2 (#598)

The presets label was an inline span, so the wrapper's space-y-2 margin
never applied. Make it block-level. The hue and alpha slider wrappers have
a single child, so space-y-2 did nothing there; remove it.
@mathewtaylor
mathewtaylor marked this pull request as ready for review October 10, 2026 07:00
@mathewtaylor
mathewtaylor merged commit 622d51f into v4.2.0 Oct 10, 2026
1 check passed
@mathewtaylor
mathewtaylor deleted the foreman/ml-511 branch October 10, 2026 07:00
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