Spacing Units: Tweak step values #37620
Labels
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
[Type] Enhancement
A suggestion for improvement.
Description
In #36186 it was noticed that some of the spacing units, in particular
em
andrem
, are configured with a very small step value. This means that when you hold the 'up' or 'down' key to change spacing,em
moves very slowly compared topx
for example.Here's a visual using the height of the Spacer block:
px-vs-em-step.mov
It's perhaps more noticeable on mobile, because the
UnitControl
has its own increment/decrement buttons:The step value comes from the configuration here and was introduced in #32692.
Step-by-step reproduction instructions
Cover
is a good example, with itsminHeight
attribute.em
andrem
increment is noticeably smaller/slower.Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: