Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 jaspermdegroot authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  css/structure/jquery.mobile.controlgroup.css
3  css/structure/jquery.mobile.controlgroup.css
View
@@ -4,7 +4,6 @@
.ui-bar .ui-controlgroup { margin: 0 5px; }
.ui-controlgroup-label { font-size: 16px; line-height: 1.4; font-weight: normal; margin: 0 0 .4em; }
-.ui-controlgroup-controls { display: block; width: 100%;}
.ui-controlgroup li { list-style: none; }
.ui-controlgroup-vertical .ui-btn,
.ui-controlgroup-vertical .ui-checkbox, .ui-controlgroup-vertical .ui-radio { margin: 0; border-bottom-width: 0; }
@@ -20,7 +19,7 @@
.ui-controlgroup-horizontal .ui-controlgroup-controls:before,
.ui-controlgroup-horizontal .ui-controlgroup-controls:after { content: ""; display: table; }
.ui-controlgroup-horizontal .ui-controlgroup-controls:after { clear: both; }
-.ui-controlgroup-horizontal .ui-controlgroup-controls { zoom: 1; }
+.ui-controlgroup-horizontal .ui-controlgroup-controls { display: inline-block; zoom: 1; }
.ui-controlgroup-horizontal .ui-btn-inner { text-align: center; }
.ui-controlgroup-horizontal.ui-mini .ui-btn-inner { height: 16px; line-height: 16px; }
.ui-controlgroup-horizontal .ui-btn, .ui-controlgroup-horizontal .ui-select,
Please sign in to comment.
Something went wrong with that request. Please try again.