IP2: Fix group block children and alignwide children

This commit is contained in:
Kjell Reigstad 2020-03-24 15:10:05 -04:00
parent 53e398d39f
commit 3346f473fb

View file

@ -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 {