generateblocks icon indicating copy to clipboard operation
generateblocks copied to clipboard

Mixed Units for Padding

Open diggeddy opened this issue 3 years ago • 1 comments

Option to select different Units ( Px or % or .. ) for each individual padding field would help with managing responsive sizing of container blocks.

eg. Top and Bottom: 5%, Left and Right: 40px;

A good reference is the GP Header Element where those options are available.

diggeddy avatar Sep 06 '21 14:09 diggeddy

It's doable in my opinion but would require a big UI refactoring for the spacing attributes + backend work to accept a unit per side. It the not an easy task at all, but might be really useful as you mentioned.

JeanPaiva avatar Sep 06 '21 16:09 JeanPaiva

duplication from https://github.com/tomusborne/generateblocks/issues/153

JeanPaiva avatar Jan 10 '23 20:01 JeanPaiva