Skip to content

Commit 3bf1cd3

Browse files
author
Adam Bradley
committed
.item-select select max-width: 65%
1 parent f4745c3 commit 3bf1cd3

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

scss/_select.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
top: 0;
1414
right: 0;
1515
padding: ($item-padding - 2) ($item-padding * 3) ($item-padding) $item-padding;
16+
max-width: 65%;
1617

1718
border: none;
1819
background: transparent;
@@ -29,6 +30,10 @@
2930
direction: rtl; // right align the select text
3031
}
3132

33+
option {
34+
direction: ltr;
35+
}
36+
3237
&:after {
3338
position: absolute;
3439
top: 50%;

test/html/tapInputs.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,17 @@
158158
</select>
159159
</label>
160160

161+
<div class="item item-input item-select">
162+
<div class="input-label">
163+
Country
164+
</div>
165+
<select>
166+
<option>Great Britain</option>
167+
<option selected>Saint Vincent and the Grenadines option should be a text overflow issue</option>
168+
<option>United States</option>
169+
</select>
170+
</div>
171+
161172
<div class="item item-divider">
162173
Other Tests
163174
</div>

0 commit comments

Comments
 (0)