* Blockbase: Apply image-no-margin alignment to all children * Blockbase: Update image-no-margin comment
@@ -116,7 +116,7 @@ p, h1, h2, h3, h4, h5, h6 {
margin: 0;
}
-.image-no-margin > * {
+.image-no-margin * {
vertical-align: bottom;
@@ -3,7 +3,7 @@
//Apply to Image block when we don't want margin bottom before caption
.image-no-margin {
- & > * { //the first sibling is a div on the editor and an image on the frontend
+ & * { //Removes any whitespace created by child elements (a div on the editor, and an image or link on the frontend)