Prevent Windows button defaults from overriding other styles

This commit is contained in:
Abe Jellinek 2024-05-02 12:21:37 -04:00 committed by Dan Stillman
parent 5f8ea3af9c
commit e414e6029b

View file

@ -1,6 +1,10 @@
// skip React Button element
button:not(.btn, [type=checkbox], [type=radio]),
input:is([type=button], [type=submit]) {
// Use :where to reset specificity to 0
// https://css-tricks.com/using-the-specificity-of-where-as-a-css-reset/
:where(
// skip React Button element
button:not(.btn, [type=checkbox], [type=radio]),
input:is([type=button], [type=submit])
) {
@include windows-form-element;
padding: 4px 11px 6px 11px;