From b4c750afe4240fb1e720f8b1a8eca7e7eea6ee3f Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 7 Jun 2022 05:21:20 +0000 Subject: [PATCH] Twenty-Twenty: Fix a width/alignement issue on "Wide Line" Separator style variation. This change fixes an alignement issue on the "Wide Line" Separator style variation on front-end, especially when used inside a column block. It changes the block `width` value from `120rem` to `100%` to avoid container overflowing. Props kjellr, matthiaspabst, sabernhardt, audrasjb. Fixes #53643. git-svn-id: https://develop.svn.wordpress.org/trunk@53475 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentytwenty/style-rtl.css | 2 +- src/wp-content/themes/twentytwenty/style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index f865da5967..f31c5bfdd5 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -6274,7 +6274,7 @@ a.to-the-top > * { .wp-block-separator.is-style-wide { max-width: 120rem; - width: 120rem; + width: 100%; } /* Entry Content ------------------------- */ diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index f6a72a9e47..a8f581e2ca 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -6378,7 +6378,7 @@ a.to-the-top > * { .wp-block-separator.is-style-wide { max-width: 120rem; - width: 120rem; + width: 100%; } /* Entry Content ------------------------- */