Elegant Business: Fix lack of margin on Media & Text block contents
This commit is contained in:
parent
4ac1143a50
commit
a826ca17e2
3 changed files with 24 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue