Merge pull request #17945 from overleaf/mf-fix-disabled-state-btn-primary

[web] Fix website redesign primary button disabled style not applied properly because of CSS specificity issue

GitOrigin-RevId: 251d1f5b26bfe9a064c9bc7fd4c91fc77d8fbfe0
This commit is contained in:
M Fahru 2024-05-28 09:44:53 -07:00 committed by Copybot
parent 64e231eae4
commit 97469c9bef

View file

@ -1002,11 +1002,13 @@
}
.btn-primary {
background: var(--emerald-green);
color: var(--white);
&:not([disabled]) {
background: var(--emerald-green);
color: var(--white);
&:hover {
background: var(--emerald-green-dark);
&:hover {
background: var(--emerald-green-dark);
}
}
}