Skip to content
This repository
Browse code

Tweaked fieldset border rules so field contains work with this elemen…

…t. Fixes #2448
  • Loading branch information...
commit 055e15e84f5460531f374051f8c1497eb145f920 1 parent 1742820
Todd Parker authored
2  css/structure/jquery.mobile.core.css
... ...
@@ -1,7 +1,7 @@
1 1
 /* some unsets - more probably needed */
2 2
 .ui-mobile, .ui-mobile body { height: 100%; }
3 3
 .ui-mobile fieldset, .ui-page { padding: 0; margin: 0; }
4  
-.ui-mobile a img, .ui-mobile fieldset { border: 0; }
  4
+.ui-mobile a img, .ui-mobile fieldset { border-width: 0; }
5 5
 
6 6
 /* responsive page widths */
7 7
 .ui-mobile-viewport {  margin: 0; overflow-x: visible; -webkit-text-size-adjust: none; -ms-text-size-adjust:none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
4  css/structure/jquery.mobile.forms.fieldcontain.css
... ...
@@ -1,5 +1,5 @@
1  
-.ui-field-contain { padding: 1.5em 0; margin: 0; border-bottom-width: 1px; overflow: visible; }
  1
+.ui-field-contain, fieldset.ui-field-contain { padding: 1.5em 0; margin: 0; border-width: 0 0 1px 0; overflow: visible; }
2 2
 .ui-field-contain:first-child { border-top-width: 0; }
3 3
 @media all and (min-width: 450px){
4  
-	.ui-field-contain { border-width: 0; padding: 0; margin: 1em 0; }
  4
+	.ui-field-contain, .ui-mobile fieldset.ui-field-contain { border-width: 0; padding: 0; margin: 1em 0; }
5 5
 }	

0 notes on commit 055e15e

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