Skip to content

Commit

Permalink
.item-select select max-width: 65%
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Bradley committed Apr 28, 2014
1 parent f4745c3 commit 3bf1cd3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scss/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
top: 0;
right: 0;
padding: ($item-padding - 2) ($item-padding * 3) ($item-padding) $item-padding;
max-width: 65%;

border: none;
background: transparent;
Expand All @@ -29,6 +30,10 @@
direction: rtl; // right align the select text
}

option {
direction: ltr;
}

&:after {
position: absolute;
top: 50%;
Expand Down
11 changes: 11 additions & 0 deletions test/html/tapInputs.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,17 @@
</select>
</label>

<div class="item item-input item-select">
<div class="input-label">
Country
</div>
<select>
<option>Great Britain</option>
<option selected>Saint Vincent and the Grenadines option should be a text overflow issue</option>
<option>United States</option>
</select>
</div>

<div class="item item-divider">
Other Tests
</div>
Expand Down

0 comments on commit 3bf1cd3

Please sign in to comment.