Make WordPress Core


Ignore:
Timestamp:
01/07/2019 03:50:24 PM (8 years ago)
Author:
SergeyBiryukov
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.
Merges [44370] to the 5.0 branch.
Fixes #45726.

Location:
branches/5.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0

  • branches/5.0/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

    r44202 r44424  
    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.