Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit support to the spacer block (plus unit steps adjustment) #30437

Closed
Jugibur opened this issue Apr 1, 2021 · 1 comment
Closed

Add unit support to the spacer block (plus unit steps adjustment) #30437

Jugibur opened this issue Apr 1, 2021 · 1 comment

Comments

@Jugibur
Copy link

Jugibur commented Apr 1, 2021

What problem does this address?

I always use em/rems to define sizes.
This has the well-known advantage that all sizes can be defined centrally per breakpoint. This way the spacing grows proportionally to the base font size.
Unfortunately, the spacer block only allows the fixed height in the form of a pixel specification.
So it would be great if you could select the unit in the spacer block.

What is your proposed solution?

In addition to the selection of the unit, however, it would be very important in my eyes to be able to specify the sizes of the individual steps in functions.php, which could be set with the slider.
Example: For the unit "em" a step size of ".25em" would be very pragmatic.

These step sizes could then be used in general when using this unit, e.g. for column sizes.

@skorasaurus
Copy link
Member

skorasaurus commented Apr 2, 2021

Hi,

Thanks for reporting;
This has been discussed and/or requested in #22956 . Feel free to add your reaction and follow its progress in the issue. Please reopen if your issue is different than the one mentioned in the issue.

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

No branches or pull requests

2 participants