Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #2647, once and for all. overflow: hidden on text inside select…

… menus was being ignored on iPad Safari specifically.
  • Loading branch information...
commit 48e7fd66615509e924d5a70181e05c0d044036f6 1 parent fbfe982
Mat Marquis Wilto authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  css/structure/jquery.mobile.forms.select.css
3  css/structure/jquery.mobile.forms.select.css
View
@@ -18,7 +18,8 @@
label.ui-select { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .3em; display: block; }
/*listbox*/
-.ui-select .ui-btn-text, .ui-selectmenu .ui-btn-text { display: block; min-height: 1em; overflow: hidden; }
+.ui-select .ui-btn-text, .ui-selectmenu .ui-btn-text { display: block; min-height: 1em; overflow: hidden !important;
+/* This !important is required for iPad Safari specifically. See https://github.com/jquery/jquery-mobile/issues/2647 */ }
.ui-select .ui-btn-text { text-overflow: ellipsis; }
.ui-selectmenu { position: absolute; padding: 0; z-index: 1100 !important; width: 80%; max-width: 350px; padding: 6px; }
Please sign in to comment.
Something went wrong with that request. Please try again.