fix: add background style reset, apply to button:hover as well

This commit is contained in:
Pujit Mehrotra
2025-11-05 16:10:28 -05:00
parent cbbb45e05f
commit 1033e76576

View File

@@ -40,7 +40,11 @@
/* Reset button-like controls back to UA defaults so Nuxt UI styles win */
.unapi button,
.unapi button[type='button'],
.unapi button:hover,
.unapi button:hover[disabled],
.unapi input[type='button'],
.unapi input[type='button']:hover,
.unapi input[type='button']:hover[disabled],
.unapi input[type='reset'],
.unapi input[type='submit'],
.unapi a.button {
@@ -48,6 +52,8 @@
font: inherit;
min-width: revert;
text-transform: revert;
background: revert;
/* color: revert; */
}
/* Reset text inputs so Nuxt UI field styles render correctly */
@@ -139,7 +145,6 @@
.unapi button[role="switch"][data-state="unchecked"] {
background-color: transparent;
background: transparent;
border: 1px solid #ccc;
}
/* Style for checked state */