0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

fix(ui): fix some firefox standout bug (#1615)

fix some firefox standout bug
This commit is contained in:
simeng-li 2022-07-20 13:50:23 +08:00 committed by GitHub
parent 15af03f45f
commit 4ce6bd8cf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 6 deletions

View file

@ -20,6 +20,10 @@
width: 100%;
height: 100%;
font-size: 0;
option {
font: var(--font-body);
}
}
+ input {

View file

@ -14,12 +14,6 @@
color: var(--color-text);
caret-color: var(--color-primary);
&::-webkit-outer-spin-button,
&::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
&:focus {
border: _.border(var(--color-primary));
}

View file

@ -16,3 +16,14 @@ input {
padding: 0;
margin: 0;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type='number'] {
-moz-appearance: textfield;
}