diff --git a/src/form/input.js b/src/form/input.js index c0a4a2c..a51a85c 100644 --- a/src/form/input.js +++ b/src/form/input.js @@ -67,6 +67,7 @@ class Input extends Component { width: 0; height: 100%; padding: 0 8px; + line-height: 1; border: 0; border-radius: inherit; font: inherit; diff --git a/src/form/switch.js b/src/form/switch.js index 2916853..3b6f16c 100644 --- a/src/form/switch.js +++ b/src/form/switch.js @@ -32,7 +32,7 @@ class Switch extends Component { justify-content: center; align-items: center; min-width: 32px; - padding-right: 16px; + padding: 0 8px 0 2px; line-height: 1; -moz-user-select: none; user-select: none;