Modern Business: Add a utility css class for spacer block
This commit is contained in:
parent
8ca09c1bec
commit
a256e70d55
3 changed files with 31 additions and 0 deletions
|
@ -805,6 +805,17 @@
|
|||
}
|
||||
}
|
||||
|
||||
//! Spacer
|
||||
.wp-block-spacer {
|
||||
&.desktop-only {
|
||||
display: none;
|
||||
|
||||
@include media(tablet) {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//! Twitter Embed
|
||||
.wp-block-embed-twitter {
|
||||
word-break: break-word;
|
||||
|
|
|
@ -4255,6 +4255,16 @@ body.page .main-navigation {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-spacer.desktop-only {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.entry .entry-content .wp-block-spacer.desktop-only {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-embed-twitter {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
|
|
@ -4267,6 +4267,16 @@ body.page .main-navigation {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-spacer.desktop-only {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.entry .entry-content .wp-block-spacer.desktop-only {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-embed-twitter {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue