Explorar o código

Fix text input's value misalignment

The text input's value should now be better aligned.
Sergiu Miclea %!s(int64=8) %!d(string=hai) anos
pai
achega
4a9f6bcc50
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/components/atoms/TextInput/TextInput.jsx

+ 1 - 0
src/components/atoms/TextInput/TextInput.jsx

@@ -37,6 +37,7 @@ const getInputWidth = props => {
 const Input = styled.input`
   width: ${props => getInputWidth(props)};
   height: ${StyleProps.inputSizes.regular.height}px;
+  line-height: ${StyleProps.inputSizes.regular.height}px;
   border-radius: ${StyleProps.borderRadius};
   background-color: #FFF;
   border: 1px solid ${props => props.highlight ? Palette.alert : Palette.grayscale[3]};