Skip to content

Commit 536c3c0

Browse files
[docs] Fix Autocomplete demo on Safari
1 parent 283d5da commit 536c3c0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docs/src/pages/components/autocomplete/CustomizedHook.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ const InputWrapper = styled('div')`
3131
3232
& input {
3333
font-size: 14px;
34-
line-height: 26px;
35-
padding: 2px 6px;
34+
height: 30px;
35+
padding: 4px 6px;
3636
width: 0;
3737
min-width: 30px;
3838
flex-grow: 1;
3939
border: 0;
40+
margin: 0;
4041
outline: 0;
4142
}
4243
`;

docs/src/pages/components/autocomplete/CustomizedHook.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ const InputWrapper = styled('div')`
3131
3232
& input {
3333
font-size: 14px;
34-
line-height: 26px;
35-
padding: 2px 6px;
34+
height: 30px;
35+
padding: 4px 6px;
3636
width: 0;
3737
min-width: 30px;
3838
flex-grow: 1;
3939
border: 0;
40+
margin: 0;
4041
outline: 0;
4142
}
4243
`;

0 commit comments

Comments
 (0)