Explorar o código

Merge pull request #343 from smiclea/CORWEB-193

Fix `line-height` issues for `TextInput` CORWEB-193
Dorin Paslaru %!s(int64=7) %!d(string=hai) anos
pai
achega
270380c02a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/atoms/TextInput/TextInput.jsx

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

@@ -39,7 +39,7 @@ const borderColor = (props, defaultColor = Palette.grayscale[3]) => props.highli
 const Input = styled.input`
   width: ${props => getInputWidth(props)};
   height: ${props => props.height || `${StyleProps.inputSizes.regular.height}px`};
-  line-height: ${props => props.lineHeight || `${StyleProps.inputSizes.regular.height}px`};
+  line-height: ${props => props.lineHeight || 'normal'};
   border-radius: ${StyleProps.borderRadius};
   background-color: #FFF;
   border: ${props => props.embedded ? 0 : css`1px solid ${props => borderColor(props)}`};