Why does adding background color also add padding?
-
When background color is changed for a block like columns, I noticed that it adds padding to the block. What is the reasoning behind this? It is not a given that someone requiring background color wants also to have padding.
E.g. when
.wp-block-columns.has-background
is applied, then the stylepadding: 20px 38px;
is applied via style.min.cssIn my case, I have to override all the padding because I only want to add the background color.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Why does adding background color also add padding?’ is closed to new replies.