Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes #3566 — Removes default margin from enhanced selects.

  • Loading branch information...
commit b3c0042401eff503779c78e4c9c3dfbf05f1314b 1 parent c926aa1
@Wilto Wilto authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 css/structure/jquery.mobile.forms.select.css
View
6 css/structure/jquery.mobile.forms.select.css
@@ -1,10 +1,6 @@
.ui-select { display: block; position: relative; }
.ui-select select { position: absolute; left: -9999px; top: -9999px; }
-.ui-select .ui-btn { overflow: hidden; }
-
-
-.ui-select .ui-btn { opacity: 1; }
-
+.ui-select .ui-btn { overflow: hidden; opacity: 1; margin: 0; }
/* Fixes #2588 — When Windows Phone 7.5 (Mango) tries to calculate a numeric opacity for a select—including “inherit”—without explicitly specifying an opacity on the parent to give it context, a bug appears where clicking elsewhere on the page after opening the select will open the select again. */
.ui-select .ui-btn select { cursor: pointer; -webkit-appearance: button; left: 0; top:0; width: 100%; min-height: 1.5em; min-height: 100%; height: 3em; max-height: 100%; opacity: 0; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); z-index: 2; }
Please sign in to comment.
Something went wrong with that request. Please try again.