FocalPointPicker unit controls are to small for Swedish translations #28582
Labels
[Block] Cover
Affects the Cover Block - used to display content laid over a background image
CSS Styling
Related to editor and front end styles, CSS-specific issues.
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Type] Bug
An existing feature does not function as intended
Description
<FocalPointPicker>
hardcodes the width of<UnitControl>
to100px
, which is not enough to fit the Swedish translations ofleft
andtop
(vänster
andtoppen
).gutenberg/packages/components/src/focal-point-picker/styles/focal-point-picker-style.js
Line 55 in 502f79a
Step-by-step reproduction instructions
Switch to Swedish and try adjusting the focal point of a cover block.
Expected behaviour
The strings should fit.
Actual behaviour
The labels are not wide enough to fit the strings.
Screenshots or screen recording
WordPress information
Device information
The text was updated successfully, but these errors were encountered: