From eabc288f6747150486c15cfed93df6660c0119b5 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 12 Nov 2019 02:04:14 +0000 Subject: [PATCH] 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 https://github.com/WordPress/twentytwenty/compare/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 --- src/wp-content/themes/twentytwenty/style-rtl.css | 8 ++++---- src/wp-content/themes/twentytwenty/style.css | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index f5e756a5ba..06062b0710 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -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; } diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index 002dd422b9..2fdbb2fa25 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -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; }