Only show number input arrows in Firefox on hover

This commit is contained in:
Maciej Ziarkowski 2021-03-11 19:10:26 +00:00
parent b225a21f41
commit b93d016a77

View File

@ -12,6 +12,15 @@ input[type="email"] {
input[type="number"] {
padding-right: 0.25rem;
}
/* Only show number input controls on hover in Firefox */
input[type="number"] {
-moz-appearance: textfield;
}
input[type="number"]:hover:not(:disabled) {
-moz-appearance: unset;
}
form .alert {
margin: 0.5rem 0;
}