Fix padding on input to match other interactive elements
This commit is contained in:
parent
40e218deb2
commit
d070aea762
1 changed files with 2 additions and 2 deletions
|
|
@ -2,10 +2,10 @@
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
background-color: var(--input-bg);
|
background-color: var(--input-bg);
|
||||||
border: 2px solid transparent;
|
border: 2px solid transparent;
|
||||||
border-radius: 6px;
|
border-radius: $input-corner;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
display: block;
|
display: block;
|
||||||
padding: $unit-2x;
|
padding: calc($unit-2x - 2px);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
&[type='number']::-webkit-inner-spin-button {
|
&[type='number']::-webkit-inner-spin-button {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue