From a240f12e80f62610c996283d876259bca9718d52 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sun, 9 Jul 2023 17:21:21 +0000 Subject: [PATCH] Twenty Twenty-Three: Fix Separator Block default styling. This changeset sets default width to `100px` for the Separator block, and sets the Separator block located in the Call to Action block pattern to `wide`. Props haritpanchal, audrasjb, sakibmd, poena, Rahmohn, mikachan. Fixes #57667. git-svn-id: https://develop.svn.wordpress.org/trunk@56173 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentytwentythree/patterns/call-to-action.php | 4 ++-- src/wp-content/themes/twentytwentythree/theme.json | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentytwentythree/patterns/call-to-action.php b/src/wp-content/themes/twentytwentythree/patterns/call-to-action.php index 642aa50953..119677d8e2 100644 --- a/src/wp-content/themes/twentytwentythree/patterns/call-to-action.php +++ b/src/wp-content/themes/twentytwentythree/patterns/call-to-action.php @@ -32,8 +32,8 @@
- -
+ +
diff --git a/src/wp-content/themes/twentytwentythree/theme.json b/src/wp-content/themes/twentytwentythree/theme.json index ba78a4a50f..b0f99bc868 100644 --- a/src/wp-content/themes/twentytwentythree/theme.json +++ b/src/wp-content/themes/twentytwentythree/theme.json @@ -587,6 +587,9 @@ "fontWeight": "normal", "lineHeight": "1.4" } + }, + "core/separator": { + "css": " &:not(.is-style-wide):not(.is-style-dots):not(.alignwide):not(.alignfull){width: 100px}" } }, "color": {