Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix active, disabled, unstyled button background color (again) #5025

Merged
merged 1 commit into from
May 4, 2021

Commits on May 4, 2021

  1. Fix active, disabled, unstyled button background color (#4881)

    * Fix active, disabled, unstyled button background color
    
    **Why**: When an unstyled button is used as the submit button in a form, it can cause an issue where clicking the button would make it both disabled and active. This is because our default form validation will disable all submit buttons when a form is submitted. Since this happens at the same time as the link activation, and since the USWDS default disabled button styles conflict with the unstyled link appearance, an undesirable background color can be shown.
    
    * Match full selector chain from disabled styles
    aduth committed May 4, 2021
    Configuration menu
    Copy the full SHA
    3c3fbc0 View commit details
    Browse the repository at this point in the history