_utility.scss 402 B

1234567891011121314
  1. //Utility classes for Block styles/Patterns:
  2. //Apply to Image block when we don't want margin bottom before caption
  3. .image-no-margin {
  4. margin: 0;
  5. & > * { //the first sibling is a div on the editor and an image on the frontend
  6. vertical-align: bottom;
  7. }
  8. }
  9. //Removes padding on Column block when it has a background color
  10. .has-background-no-padding.wp-block-columns.has-background {
  11. padding: 0;
  12. }