Home Plugins yours59 responsive spacings for core blocks
Yours59 responsive spacings for core blocks logo

Yours59 responsive spacings for core blocks

by larslo on WordPress.org

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

(0)
Yours59 responsive spacings for core blocks - Screenshot 1

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.

Active installations0+
Weekly downloads
7-41.67%
Version1.0.2
Last updated8/18/2022
WordPress version5.0.0
Tested up to6.0.9
PHP version7.4
Tags
block-editorblocksgutenberggutenberg blocksspacings