Skip to content

Commit b54d300

Browse files
authored
line height 1 for inputs (codesandbox#3556)
1 parent d91b0f8 commit b54d300

File tree

1 file changed

+1
-0
lines changed
  • packages/components/src/components/Input

1 file changed

+1
-0
lines changed

packages/components/src/components/Input/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const Input = styled(Element).attrs({ as: 'input' })<{
2626
width: '100%',
2727
paddingX: 2,
2828
fontSize: 3,
29+
lineHeight: 1, // trust the height
2930
fontFamily: 'Inter, sans-serif',
3031
borderRadius: 'small',
3132
backgroundColor: 'input.background',

0 commit comments

Comments
 (0)