Merge pull request #988 from Automattic/fix/issue-983

Elegant Business: Fix lack of margin on Media & Text block contents
This commit is contained in:
Jeffrey Pearce 2019-06-20 20:21:31 +02:00 committed by GitHub
commit 089cb9b9ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}