-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update design of FontSizePicker when withSlider is set (#44598)
* Update design of FontSizePicker when withSlider is true * splitNumberAndUnitFromSize -> parseNumberAndUnitFromSize * Add 8px margin to slider * Add min=0 to UnitControl * Go back to rounding pixel values when there are no units * Restore previous logic for determining hasUnits * Guard against missing first size * Use existing parseQuantityAndUnitFromRawValue * Use same min, max and step values as in SpacingSizesControl * Update CHANGELOG.md
- Loading branch information
1 parent
cdbbcb0
commit 98803a3
Showing
8 changed files
with
161 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.