Yours59 responsive spacings for core blocks

plugin banner

Plugin provides an Panel for Gutenberg Inspector which allows you to set responsive spacing (margin, padding)
for all core blocks.

Author:larslo (profile at wordpress.org)
WordPress version required:5.0.0
WordPress version tested:6.0.1
Plugin version:1.0.2
Added to WordPress repository:09-08-2022
Last updated:18-08-2022
Rating, %:0
Rated by:0
Plugin URI:https://github.com/larsloQ/yours59_spacings_f...
Total downloads:290
plugin download
Click to start download

The wordPress standard Gutenberg Sidebar \”Dimensions\” panel, does not give good control over spacings, since it only allows us to set \’fixed\’ spacings (with units \”%\”,\”rem\”,\”vh\”,\”vw\”,\”px\”,\”em\”). Additionally I wanted to have options to change the spacings for different screen size and have negative values possible ( e.g. removing a block-gap (--wp--style--block-gap) in certain scenarios).
Therefor I made this little plugin: I wanted to map the spacing set in editor to my CSS Custom Property (CSSCP) (--size).
Hope this might be helpful for some others out there.


Screenshots
FAQ