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:
parent
15af03f45f
commit
4ce6bd8cf5
3 changed files with 15 additions and 6 deletions
|
@ -20,6 +20,10 @@
|
|||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 0;
|
||||
|
||||
option {
|
||||
font: var(--font-body);
|
||||
}
|
||||
}
|
||||
|
||||
+ input {
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue