Skip to content

Commit

Permalink
RangeControl: tweak mark and label absolute positioning (#64487)
Browse files Browse the repository at this point in the history
* This commit tweaks the position of the range control marks and labels to fit the original design.

* CHANGELOG.md update

Co-authored-by: ramonjd <[email protected]>
Co-authored-by: mirka <[email protected]>
Co-authored-by: jameskoster <[email protected]>
  • Loading branch information
4 people authored Aug 15, 2024
1 parent cf8aeba commit 454129b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
- `FocalPointPicker`: Default to new 40px size ([#64456](https://github.com/WordPress/gutenberg/pull/64456)).
- `DropdownMenuV2`: adopt elevation scale ([#64432](https://github.com/WordPress/gutenberg/pull/64432)).

### Bug Fixes

- `RangeControl`: tweak mark and label absolute positioning ([#64487](https://github.com/WordPress/gutenberg/pull/64487)).

### Internal

- `Composite` v2: add `Hover` and `Typeahead` subcomponents ([#64399](https://github.com/WordPress/gutenberg/pull/64399)).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const Mark = styled.span`
height: ${ thumbSize }px;
left: 0;
position: absolute;
top: -4px;
top: 9px;
width: 1px;
${ markFill };
Expand All @@ -170,7 +170,7 @@ export const MarkLabel = styled.span`
color: ${ COLORS.gray[ 300 ] };
font-size: 11px;
position: absolute;
top: 12px;
top: 22px;
white-space: nowrap;
${ rtl( { left: 0 } ) };
Expand Down

0 comments on commit 454129b

Please sign in to comment.