How do I add padding and margin to my custom block?
-
In the custom block I am developing I am able to display the padding and margin controls in the block properties sidebar. However, how do I apply these settings to my custom blocks?
Background colour and text colours works out of the box by just enabling these options in the block.json file. But the same is not true for margin and padding.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How do I add padding and margin to my custom block?’ is closed to new replies.