Skip to content
This repository
Browse code

Controlgroup: keep the possibility to center the controls with vertic…

…al-align property. Fixes #4765 - Horizontal alignment bug with jQuery mobile 1.1.1
  • Loading branch information...
commit 9403cf0276c3dab0c3f9ea781610e7f48549302d 1 parent 352d4b3
Jasper de Groot authored August 02, 2012
3  css/structure/jquery.mobile.controlgroup.css
@@ -4,7 +4,6 @@
4 4
 .ui-bar .ui-controlgroup { margin: 0 5px; }
5 5
 
6 6
 .ui-controlgroup-label { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .4em; }
7  
-.ui-controlgroup-controls { display: block; width: 100%;}
8 7
 .ui-controlgroup li { list-style: none; }
9 8
 .ui-controlgroup-vertical .ui-btn,
10 9
 .ui-controlgroup-vertical .ui-checkbox, .ui-controlgroup-vertical .ui-radio { margin: 0; border-bottom-width: 0; }
@@ -20,7 +19,7 @@
20 19
 .ui-controlgroup-horizontal .ui-controlgroup-controls:before,
21 20
 .ui-controlgroup-horizontal .ui-controlgroup-controls:after { content: ""; display: table; }
22 21
 .ui-controlgroup-horizontal .ui-controlgroup-controls:after { clear: both; }
23  
-.ui-controlgroup-horizontal .ui-controlgroup-controls { zoom: 1; }
  22
+.ui-controlgroup-horizontal .ui-controlgroup-controls { display: inline-block; zoom: 1; }
24 23
 .ui-controlgroup-horizontal .ui-btn-inner { text-align: center; }
25 24
 .ui-controlgroup-horizontal.ui-mini .ui-btn-inner { height: 16px; line-height: 16px; }
26 25
 .ui-controlgroup-horizontal .ui-btn, .ui-controlgroup-horizontal .ui-select,

0 notes on commit 9403cf0

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