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
This commit is contained in:
Jb Audras
2023-07-09 17:21:21 +00:00
parent 7a7c23fea0
commit a240f12e80
2 changed files with 5 additions and 2 deletions

View File

@@ -32,8 +32,8 @@
<!-- wp:column -->
<div class="wp-block-column">
<!-- wp:separator -->
<hr class="wp-block-separator has-alpha-channel-opacity"/>
<!-- wp:separator {"className":"is-style-wide"} -->
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
<!-- /wp:separator -->
</div>
<!-- /wp:column -->

View File

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