Update alignment rules (#5526)
* Update alignment rules * Run Blockbase build Co-authored-by: Sarah Norris <sarah@sekai.co.uk>
This commit is contained in:
parent
8a22ad8381
commit
762fa3fd19
6 changed files with 36 additions and 20 deletions
|
@ -114,8 +114,10 @@ body > .is-root-container,
|
|||
.edit-post-visual-editor__post-title-wrapper,
|
||||
.wp-block-group.alignfull,
|
||||
.wp-block-group.has-background,
|
||||
.wp-block-columns.alignfull.has-background,
|
||||
.wp-block-cover.alignfull,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-group,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-columns.has-background,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-cover {
|
||||
padding-left: var(--wp--custom--spacing--outer);
|
||||
padding-right: var(--wp--custom--spacing--outer);
|
||||
|
|
|
@ -83,7 +83,11 @@ body > .is-root-container,
|
|||
.edit-post-visual-editor__post-title-wrapper,
|
||||
.wp-block-group.alignfull,
|
||||
.wp-block-group.has-background,
|
||||
.is-root-container .wp-block[data-align=full] > .wp-block-group {
|
||||
.wp-block-columns.alignfull.has-background,
|
||||
.wp-block-cover.alignfull,
|
||||
.is-root-container .wp-block[data-align=full] > .wp-block-group,
|
||||
.is-root-container .wp-block[data-align=full] > .wp-block-columns.has-background,
|
||||
.is-root-container .wp-block[data-align=full] > .wp-block-cover {
|
||||
padding-left: var(--wp--custom--gap--horizontal);
|
||||
padding-right: var(--wp--custom--gap--horizontal);
|
||||
}
|
||||
|
|
|
@ -37,7 +37,11 @@ body > .is-root-container,
|
|||
.edit-post-visual-editor__post-title-wrapper,
|
||||
.wp-block-group.alignfull,
|
||||
.wp-block-group.has-background,
|
||||
.is-root-container .wp-block[data-align="full"] > .wp-block-group {
|
||||
.wp-block-columns.alignfull.has-background,
|
||||
.wp-block-cover.alignfull,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-group,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-columns.has-background,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-cover {
|
||||
padding-left: var(--wp--custom--gap--horizontal);
|
||||
padding-right: var(--wp--custom--gap--horizontal);
|
||||
}
|
||||
|
|
|
@ -106,9 +106,11 @@ body > .is-root-container,
|
|||
.edit-post-visual-editor__post-title-wrapper,
|
||||
.wp-block-group.alignfull,
|
||||
.wp-block-group.has-background,
|
||||
.wp-block-columns.alignfull.has-background,
|
||||
.wp-block-cover.alignfull,
|
||||
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
|
||||
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-group,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-columns.has-background,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-cover {
|
||||
padding-left: var(--wp--custom--spacing--outer);
|
||||
padding-right: var(--wp--custom--spacing--outer);
|
||||
}
|
||||
|
|
|
@ -35,14 +35,16 @@ body {
|
|||
* https://github.com/WordPress/gutenberg/issues/35884
|
||||
*/
|
||||
|
||||
.wp-site-blocks,
|
||||
body > .is-root-container,
|
||||
.edit-post-visual-editor__post-title-wrapper,
|
||||
.wp-block-group.alignfull,
|
||||
.wp-block-group.has-background,
|
||||
.wp-block-cover.alignfull,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-group,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-cover {
|
||||
.wp-site-blocks,
|
||||
body > .is-root-container,
|
||||
.edit-post-visual-editor__post-title-wrapper,
|
||||
.wp-block-group.alignfull,
|
||||
.wp-block-group.has-background,
|
||||
.wp-block-columns.alignfull.has-background,
|
||||
.wp-block-cover.alignfull,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-group,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-columns.has-background,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-cover {
|
||||
padding-left: var(--wp--custom--spacing--outer);
|
||||
padding-right: var(--wp--custom--spacing--outer);
|
||||
}
|
||||
|
|
|
@ -135,9 +135,11 @@ body > .is-root-container,
|
|||
.edit-post-visual-editor__post-title-wrapper,
|
||||
.wp-block-group.alignfull,
|
||||
.wp-block-group.has-background,
|
||||
.wp-block-columns.alignfull.has-background,
|
||||
.wp-block-cover.alignfull,
|
||||
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
|
||||
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-group,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-columns.has-background,
|
||||
.is-root-container .wp-block[data-align='full'] > .wp-block-cover {
|
||||
padding-left: var(--wp--custom--spacing--outer);
|
||||
padding-right: var(--wp--custom--spacing--outer);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue