Make WordPress Core

Changeset 55228


Ignore:
Timestamp:
02/06/2023 08:57:13 AM (14 months ago)
Author:
audrasjb
Message:

Twenty Fourteen: Correctly reflect text color changes in Pullquote block.

This changeset ensures text color changes on Pullquote block are reflected on both front-end and in the editor.

Props umesh84, audrasjb, sabernhardt, bgoewert, ruchirj, amitbarai013, robinwpdeveloper, shamayel007.
Fixes #56006.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/css/blocks.css

    r55114 r55228  
    188188}
    189189
     190.wp-block-pullquote.has-text-color blockquote,
     191.wp-block-pullquote.has-background blockquote,
     192.has-background .wp-block-pullquote blockquote,
     193.wp-block-pullquote.has-text-color cite,
     194.has-background .wp-block-pullquote cite,
     195.has-text-color .wp-block-pullquote__citation {
     196    color: inherit;
     197}
     198
    190199.wp-block-pullquote.alignleft {
    191200    margin-right: 1em;
  • trunk/src/wp-content/themes/twentyfourteen/css/editor-blocks.css

    r50358 r55228  
    365365
    366366.wp-block-pullquote {
     367    margin: 0;
     368}
     369
     370.editor-styles-wrapper .wp-block-pullquote {
    367371    border: 0;
    368     margin: 0;
    369372}
    370373
     
    377380}
    378381
     382.wp-block-pullquote.has-text-color blockquote,
     383.wp-block-pullquote.has-background blockquote,
     384.has-background .wp-block-pullquote blockquote,
     385.wp-block-pullquote.has-text-color cite,
     386.has-background .wp-block-pullquote cite,
     387.has-text-color .wp-block-pullquote__citation {
     388    color: inherit;
     389}
     390
    379391.wp-block-pullquote.alignleft blockquote > .editor-rich-text p,
    380392.wp-block-pullquote.alignright blockquote > .editor-rich-text p {
Note: See TracChangeset for help on using the changeset viewer.