Skip to content

Commit 2b619c1

Browse files
Multiple Combobox Examples: Adjust input height so text is fully visible in Safari on iOS (pull #2780)
Resolves #2778 by revising CSS for the following 4 combobox examples so that the space for the input is tall enough to fit the text when viewed in Safari on iOS. Previously, the tops of the letters were chopped off. * Editable Combobox With Both List and Inline Autocomplete * Editable Combobox With List Autocomplete * Editable Combobox without Autocomplete * Editable Combobox with Grid Popup
1 parent 7b0b4d3 commit 2b619c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

content/patterns/combobox/examples/css/combobox-autocomplete.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
background-color: white;
1414
color: black;
1515
box-sizing: border-box;
16-
height: 24px;
16+
height: 30px;
1717
padding: 0;
1818
margin: 0;
1919
vertical-align: bottom;
@@ -46,7 +46,7 @@ ul[role="listbox"] {
4646
padding: 0;
4747
position: absolute;
4848
left: 4px;
49-
top: 28px;
49+
top: 34px;
5050
list-style: none;
5151
background-color: white;
5252
display: none;

content/patterns/combobox/examples/css/grid-combo.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
margin: 0;
2424
padding: 0;
2525
position: absolute;
26-
top: 1.7em;
26+
top: auto;
2727
z-index: 1;
2828
}
2929

0 commit comments

Comments
 (0)