1234567891011121314 |
- //Utility classes for Block styles/Patterns:
- //Apply to Image block when we don't want margin bottom before caption
- .image-no-margin {
- margin: 0;
- & * { //Removes any whitespace created by child elements (a div on the editor, and an image or link on the frontend)
- vertical-align: bottom;
- }
- }
- //Removes padding on Column block when it has a background color
- .has-background-no-padding.wp-block-columns.has-background {
- padding: 0;
- }
|