Make WordPress Core

Changeset 56173


Ignore:
Timestamp:
07/09/2023 05:21:21 PM (15 months ago)
Author:
audrasjb
Message:

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.

Location:
trunk/src/wp-content/themes/twentytwentythree
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentythree/patterns/call-to-action.php

    r54235 r56173  
    3333    <!-- wp:column -->
    3434    <div class="wp-block-column">
    35         <!-- wp:separator -->
    36         <hr class="wp-block-separator has-alpha-channel-opacity"/>
     35        <!-- wp:separator {"className":"is-style-wide"} -->
     36        <hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
    3737        <!-- /wp:separator -->
    3838    </div>
  • trunk/src/wp-content/themes/twentytwentythree/theme.json

    r54686 r56173  
    588588                    "lineHeight": "1.4"
    589589                }
     590            },
     591            "core/separator": {
     592                "css": " &:not(.is-style-wide):not(.is-style-dots):not(.alignwide):not(.alignfull){width: 100px}"
    590593            }
    591594        },
Note: See TracChangeset for help on using the changeset viewer.