Make WordPress Core

Changeset 58368


Ignore:
Timestamp:
06/09/2024 09:40:45 AM (6 weeks ago)
Author:
karmatosed
Message:

Twenty Fifteen: Fixes quote text color not changing with block setting.

The quote block citation text color wasn't changing through block settings. This resolves by using inherit.

Props viralsampat, poena, sabernhardt, shailu25, krupajnanda, hmbashar, rajinsharwar.
Fixes #59802.

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

Legend:

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

    r57581 r58368  
    122122    line-height: 1.6;
    123123    text-transform: none;
     124}
     125
     126.wp-block-quote[class*="-text-color"] cite,
     127.wp-block-quote[style*="color"] cite {
     128    color: inherit;
    124129}
    125130
     
    336341}
    337342
     343.wp-block-pullquote[class*="-text-color"] blockquote cite,
     344.wp-block-pullquote[style*="color"] blockquote cite {
     345    color: inherit;
     346}
     347
    338348@media screen and (min-width: 46.25em) {
    339349    .wp-block-pullquote cite {
  • trunk/src/wp-content/themes/twentyfifteen/css/editor-blocks.css

    r58231 r58368  
    686686}
    687687
     688.wp-block-pullquote[class*="-text-color"] blockquote cite,
     689.wp-block-pullquote[style*="color"] blockquote cite {
     690    color: inherit;
     691}
     692
    688693@media screen and (min-width: 46.25em) {
    689694    .wp-block-pullquote .wp-block-pullquote__citation {
Note: See TracChangeset for help on using the changeset viewer.