Skip to content
This repository
Browse code

Fixes #3566 — Removes default margin from enhanced selects.

  • Loading branch information...
commit b3c0042401eff503779c78e4c9c3dfbf05f1314b 1 parent c926aa1
Mat Marquis authored February 17, 2012
6  css/structure/jquery.mobile.forms.select.css
... ...
@@ -1,10 +1,6 @@
1 1
 .ui-select { display: block; position: relative; }
2 2
 .ui-select select { position: absolute; left: -9999px; top: -9999px; }
3  
-.ui-select .ui-btn { overflow: hidden; }
4  
-
5  
-
6  
-.ui-select .ui-btn { opacity: 1; }
7  
-
  3
+.ui-select .ui-btn { overflow: hidden; opacity: 1; margin: 0; }
8 4
 /* 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. */
9 5
 .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; }
10 6
 

0 notes on commit b3c0042

Please sign in to comment.
Something went wrong with that request. Please try again.