Make WordPress Core

Changeset 53459


Ignore:
Timestamp:
06/02/2022 03:08:33 PM (4 years ago)
Author:
audrasjb
Message:

Twenty-Twenty: Alignment fix on Separator Block editor styles.

This changeset fixes an issue with some CSS rules of the "Wide Line" variation of the Separator Block’s editor stylesheet, for small, medium and large screens.

Props umesh84, iamjaydip, mukesh27, larrach.
Fixes #55896.

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

    r52661 r53459  
    13931393
    13941394        hr.wp-block-separator.is-style-wide {
    1395                 margin-right: -70px;
    1396                 margin-left: -70px;
     1395                margin-right: auto;
     1396                margin-left: auto;
    13971397        }
    13981398
    … …  
    14311431
    14321432        hr.wp-block-separator.is-style-wide {
    1433                 margin-right: -150px;
    1434                 margin-left: -150px;
     1433                margin-right: auto;
     1434                margin-left: auto;
    14351435        }
    14361436
    … …  
    14661466
    14671467        hr.wp-block-separator.is-style-wide {
    1468                 margin-right: -200px;
    1469                 margin-left: -200px;
    1470         }
    1471 
    1472 
    1473 }
     1468                margin-right: auto;
     1469                margin-left: auto;
     1470        }
     1471
     1472
     1473}
  • trunk/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css

    r52661 r53459  
    13931393
    13941394        hr.wp-block-separator.is-style-wide {
    1395                 margin-left: -70px;
    1396                 margin-right: -70px;
     1395                margin-left: auto;
     1396                margin-right: auto;
    13971397        }
    13981398
    … …  
    14311431
    14321432        hr.wp-block-separator.is-style-wide {
    1433                 margin-left: -150px;
    1434                 margin-right: -150px;
     1433                margin-left: auto;
     1434                margin-right: auto;
    14351435        }
    14361436
    … …  
    14661466
    14671467        hr.wp-block-separator.is-style-wide {
    1468                 margin-left: -200px;
    1469                 margin-right: -200px;
    1470         }
    1471 
    1472 
    1473 }
     1468                margin-left: auto;
     1469                margin-right: auto;
     1470        }
     1471
     1472
     1473}
Note: See TracChangeset for help on using the changeset viewer.