IP2: Fix group block children and alignwide children
This commit is contained in:
parent
53e398d39f
commit
3346f473fb
1 changed files with 14 additions and 0 deletions
|
@ -36,6 +36,13 @@ Description: Used to style Gutenberg Blocks.
|
|||
max-width: 1000%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/* Child blocks should not get wider than their parent */
|
||||
body:not(.has-sidebar) [class^="wp-block-"] .alignwide {
|
||||
margin-right: inherit;
|
||||
margin-left: inherit;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
body:not(.has-sidebar) .alignfull {
|
||||
|
@ -321,6 +328,13 @@ body:not(.has-sidebar) .wp-block-table.alignfull {
|
|||
background: #767676;
|
||||
}
|
||||
|
||||
/* Group */
|
||||
|
||||
.wp-block-group.alignfull .wp-block-group__inner-container {
|
||||
max-width: 740px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Separator */
|
||||
|
||||
.wp-block-separator {
|
||||
|
|
Loading…
Reference in a new issue