Make WordPress Core


Ignore:
Timestamp:
12/28/2018 08:14:26 PM (8 years ago)
Author:
laurelfulford
Message:

Twenty Nineteen: Fix hover appearance for outlined button block style.

The outlined button block style was displaying white text on a white background on hover. This update makes sure the text remains legible on hover when this button style is applied.

Props rickalee, kjellr.
Fixes #45726.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

    r44305 r44370  
    216216                        color: white;
    217217                        border-color: $color__background-button-hover;
     218                        &:not(.has-background) {
     219                                color: $color__background-button-hover;
     220                        }
    218221                }
    219222        }
Note: See TracChangeset for help on using the changeset viewer.