Skip to content

Commit

Permalink
styles/buttons: Fix font color in disabled state (#10178)
Browse files Browse the repository at this point in the history
9bbea92 introduced an `important!` marker, but missed that this was somewhat incompatible with the disabled state. This commit fixes it by also using `important!` for the disabled state. Clearly not a good long-term strategy, but good enough for now...
  • Loading branch information
Turbo87 authored Dec 10, 2024
1 parent 4b33fdd commit 81596ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/styles/shared/buttons.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

&[disabled] {
background: linear-gradient(to bottom, var(--bg-color-top-light) 0%, var(--bg-color-bottom-light) 100%);
color: var(--disabled-text-color);
color: var(--disabled-text-color) !important;
}
}

Expand Down

0 comments on commit 81596ce

Please sign in to comment.