Merge pull request #958 from Automattic/fix/issue-915
Modern Business: Fix excess text side padding for the full width stac…
This commit is contained in:
commit
66cbf27e42
3 changed files with 48 additions and 0 deletions
|
@ -191,6 +191,22 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.alignfull {
|
||||
.wp-block-media-text__content {
|
||||
padding: 8% 1rem;
|
||||
|
||||
@include media(tablet) {
|
||||
padding: 0 #{2 * $size__vertical-spacing-unit} 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.has-media-on-the-right .wp-block-media-text__content {
|
||||
@include media(tablet) {
|
||||
padding: 0 0 0 #{2 * $size__vertical-spacing-unit};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.wp-block-media-text__content {
|
||||
padding: 8%;
|
||||
}
|
||||
|
|
|
@ -3584,6 +3584,22 @@ body.page .main-navigation {
|
|||
}
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-media-text.alignfull .wp-block-media-text__content {
|
||||
padding: 8% 1rem;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.entry .entry-content .wp-block-media-text.alignfull .wp-block-media-text__content {
|
||||
padding: 0 0 0 64px;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.entry .entry-content .wp-block-media-text.alignfull.has-media-on-the-right .wp-block-media-text__content {
|
||||
padding: 0 64px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-media-text .wp-block-media-text__content {
|
||||
padding: 8%;
|
||||
}
|
||||
|
|
|
@ -3596,6 +3596,22 @@ body.page .main-navigation {
|
|||
}
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-media-text.alignfull .wp-block-media-text__content {
|
||||
padding: 8% 1rem;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.entry .entry-content .wp-block-media-text.alignfull .wp-block-media-text__content {
|
||||
padding: 0 64px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 768px) {
|
||||
.entry .entry-content .wp-block-media-text.alignfull.has-media-on-the-right .wp-block-media-text__content {
|
||||
padding: 0 0 0 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-media-text .wp-block-media-text__content {
|
||||
padding: 8%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue