Update alignment styles (#5475)

* Update alignment styles

* tidy up formatting
This commit is contained in:
Ben Dwyer 2022-02-08 22:19:56 +00:00 committed by GitHub
parent 5d3ec23d82
commit 7d8fdd5f92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 11 deletions

View file

@ -125,16 +125,13 @@ body > .is-root-container,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-group.has-background,
body > .is-root-container > .wp-block-cover,
body
> .is-root-container
> .wp-block-template-part
> .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align='full'] {
margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
max-width: unset;
width: unset;
}

View file

@ -93,13 +93,13 @@ body > .is-root-container,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-group.has-background,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align=full] {
margin-left: calc(-1 * var(--wp--custom--gap--horizontal)) !important;
margin-right: calc(-1 * var(--wp--custom--gap--horizontal)) !important;
max-width: unset;
width: unset;
}

View file

@ -47,13 +47,13 @@ body > .is-root-container,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-group.has-background,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
margin-left: calc(-1 * var(--wp--custom--gap--horizontal)) !important;
margin-right: calc(-1 * var(--wp--custom--gap--horizontal)) !important;
max-width: unset;
width: unset;
}

View file

@ -124,8 +124,8 @@ body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
width: unset;
max-width: unset;
width: unset;
}
/* Blocks inside columns don't have negative margins. */

View file

@ -3,7 +3,7 @@ Theme Name: Stewart
Theme URI: https://github.com/Automattic/themes/tree/trunk/stewart
Author: Automattic
Author URI: https://automattic.com/
Description: Stewart is a modern blogging theme with a left sidebar. Its default color scheme is a striking combination of orange and light gray, to give your blog a sophisticated appearance from day one.
Description: Stewart is a modern blogging theme with a left sidebar. Its default color scheme is a striking combination of orange and light gray, to give your blog a sophisticated appearance from day one.
Requires at least: 5.8
Tested up to: 5.8
Requires PHP: 5.7
@ -89,7 +89,7 @@ a:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
opacity: 0.90;
}
}
/*
* Search and File Block button styles.
@ -147,13 +147,13 @@ body > .is-root-container,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-group.has-background,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
max-width: unset;
width: unset;
}