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

This commit is contained in:
Danny Dudzic 2019-06-19 17:06:40 +02:00
parent 4ac1143a50
commit adea63465c
3 changed files with 26 additions and 0 deletions

View file

@ -815,6 +815,16 @@
.wp-block-media-text {
background: $color__background-screen;
.wp-block-media-text__content {
> :first-child {
margin-top: 0.88889rem;
}
> :last-child {
margin-bottom: 0.88889rem;
}
}
& + .wp-block-media-text {
margin-top: -$size__vertical-spacing-unit;
}

View file

@ -4173,6 +4173,14 @@ body.page .main-navigation {
background: #1c1c1c;
}
.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 + .wp-block-media-text {
margin-top: -32px;
}

View file

@ -4185,6 +4185,14 @@ body.page .main-navigation {
background: #1c1c1c;
}
.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 + .wp-block-media-text {
margin-top: -32px;
}