Make WordPress Core

Changeset 58885


Ignore:
Timestamp:
08/12/2024 10:54:43 AM (9 months ago)
Author:
karmatosed
Message:

Twenty Twelve: Fixes Button block outline style having wrong text color on front.

The Button block has a different text color on the front to the editor when you apply text color. This resolves it without changing other styles.

Props pitamdey, ugyensupport, sabernhardt.
Fixes #61846.

File:
1 edited

Legend:

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

    r58290 r58885  
    264264}
    265265
     266.is-style-outline .wp-block-button__link,
     267.is-style-outline .wp-block-button__link:visited {
     268    color: currentColor;
     269}
     270
    266271.wp-block-button.is-style-outline .wp-block-button__link,
    267272.wp-block-button.is-style-outline .wp-block-button__link:visited {
Note: See TracChangeset for help on using the changeset viewer.