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