Make WordPress Core

Changeset 54418


Ignore:
Timestamp:
10/07/2022 08:40:31 PM (19 months ago)
Author:
audrasjb
Message:

Twenty Twenty: Improve Separator Block rendering.

This changeset fixes inconsistent alignment behavior of the Separator Block in the editor.

Props kmadhak, sabernhardt, mukesh27, nidhidhandhukiya, kajalgohel.
Fixes #55910.

Location:
trunk/src/wp-content/themes/twentytwenty/assets/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css

    r54294 r54418  
    620620}
    621621
    622 hr.wp-block-separator::before {
     622.editor-styles-wrapper hr.wp-block-separator::before {
    623623    right: calc(50% - 5px);
    624 }
    625 
    626 hr.wp-block-separator::after {
     624    left: auto;
     625}
     626
     627.editor-styles-wrapper hr.wp-block-separator::after {
    627628    left: calc(50% - 5px);
     629    right: auto;
     630    border-radius: 0;
    628631}
    629632
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

    r54166 r54418  
    624624}
    625625
    626 hr.wp-block-separator::before {
     626.editor-styles-wrapper hr.wp-block-separator::before {
    627627    left: calc(50% - 5px);
    628 }
    629 
    630 hr.wp-block-separator::after {
     628    right: auto;
     629}
     630
     631.editor-styles-wrapper hr.wp-block-separator::after {
    631632    right: calc(50% - 5px);
     633    left: auto;
     634    border-radius: 0;
    632635}
    633636
Note: See TracChangeset for help on using the changeset viewer.