Elegant Business: Fix lack of margin on Media & Text block contents

This commit is contained in:
Danny Dudzic 2019-06-19 00:44:41 +02:00
parent 4ac1143a50
commit a826ca17e2
3 changed files with 24 additions and 0 deletions

View file

@ -795,6 +795,14 @@
color: inherit;
}
.wp-block-media-text__content > :first-child {
margin-top: 0.88889rem;
}
.wp-block-media-text__content > :last-child {
margin-bottom: 0.88889rem;
}
&.has-media-on-the-right.is-stacked-on-mobile {
.wp-block-media-text__media {
grid-area: media-text-content;

View file

@ -4215,6 +4215,14 @@ body.page .main-navigation {
color: inherit;
}
.entry .entry-content .wp-block-media-text .wp-block-media-text__content > :first-child {
margin-top: 0.88889rem;
}
.entry .entry-content .wp-block-media-text .wp-block-media-text__content > :last-child {
margin-bottom: 0.88889rem;
}
.entry .entry-content .wp-block-media-text.has-media-on-the-right.is-stacked-on-mobile .wp-block-media-text__media {
grid-area: media-text-content;
}

View file

@ -4227,6 +4227,14 @@ body.page .main-navigation {
color: inherit;
}
.entry .entry-content .wp-block-media-text .wp-block-media-text__content > :first-child {
margin-top: 0.88889rem;
}
.entry .entry-content .wp-block-media-text .wp-block-media-text__content > :last-child {
margin-bottom: 0.88889rem;
}
.entry .entry-content .wp-block-media-text.has-media-on-the-right.is-stacked-on-mobile .wp-block-media-text__media {
grid-area: media-text-content;
}