Bundled Themes: Update Twenty Twenty.

* Add `.has-background` excluding condition to wide and full group-blocks.

This brings Twenty Twenty in sync with GitHub. For a full list of changes since [46714], see 162edc0...fa8c3fc.

Props allancole, karmatosed.
See #48110, #48386, #48450, #48505.
Fixes #48557.

git-svn-id: https://develop.svn.wordpress.org/trunk@46715 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-11-12 02:04:14 +00:00
parent 732a358f61
commit eabc288f67
2 changed files with 8 additions and 8 deletions

View File

@ -5139,8 +5139,8 @@ a.to-the-top > * {
margin: 0.3rem 0 2rem 2rem;
}
.entry-content > .alignwide:not(.wp-block-group),
.entry-content > .alignfull:not(.wp-block-group) {
.entry-content > .alignwide:not(.wp-block-group.has-background),
.entry-content > .alignfull:not(.wp-block-group.has-background) {
margin-bottom: 6rem;
margin-top: 6rem;
}
@ -5699,8 +5699,8 @@ a.to-the-top > * {
max-width: calc((100% - 58rem) / 2 - 4rem);
}
.entry-content > .alignwide:not(.wp-block-group),
.entry-content > .alignfull:not(.wp-block-group) {
.entry-content > .alignwide:not(.wp-block-group.has-background),
.entry-content > .alignfull:not(.wp-block-group.has-background) {
margin-bottom: 8rem;
margin-top: 8rem;
}

View File

@ -5177,8 +5177,8 @@ a.to-the-top > * {
margin: 0.3rem 0 2rem 2rem;
}
.entry-content > .alignwide:not(.wp-block-group),
.entry-content > .alignfull:not(.wp-block-group) {
.entry-content > .alignwide:not(.wp-block-group.has-background),
.entry-content > .alignfull:not(.wp-block-group.has-background) {
margin-bottom: 6rem;
margin-top: 6rem;
}
@ -5737,8 +5737,8 @@ a.to-the-top > * {
max-width: calc((100% - 58rem) / 2 - 4rem);
}
.entry-content > .alignwide:not(.wp-block-group),
.entry-content > .alignfull:not(.wp-block-group) {
.entry-content > .alignwide:not(.wp-block-group.has-background),
.entry-content > .alignfull:not(.wp-block-group.has-background) {
margin-bottom: 8rem;
margin-top: 8rem;
}