Make WordPress Core

Changeset 58796


Ignore:
Timestamp:
07/23/2024 09:50:23 PM (21 months ago)
Author:
karmatosed
Message:

Twenty Twenty: Fixes Quote block border not reflecting alignment.

This resolves the border not also aligning with the quote block. When this theme was built the editor used style attributes for text alignment. This patch updates existing rules for center and right aligned quote blocks.

Props viralsampat, poena, sabernhardt.
Fixes #61132.

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

Legend:

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

    r58784 r58796  
    33943394}
    33953395
     3396.wp-block-quote.has-text-align-center,
    33963397.wp-block-quote[style="text-align:center"] {
    33973398    border-width: 0;
     
    33993400}
    34003401
     3402.wp-block-quote.has-text-align-right,
    34013403.wp-block-quote[style="text-align:right"] {
    34023404    border-width: 0 0.2rem 0 0;
  • trunk/src/wp-content/themes/twentytwenty/style.css

    r58784 r58796  
    34143414}
    34153415
     3416.wp-block-quote.has-text-align-center,
    34163417.wp-block-quote[style="text-align:center"] {
    34173418    border-width: 0;
     
    34193420}
    34203421
     3422.wp-block-quote.has-text-align-right,
    34213423.wp-block-quote[style="text-align:right"] {
    34223424
Note: See TracChangeset for help on using the changeset viewer.