Permalink
Browse files

Controlgroup: vertical-align middle to prevent the small bottom margi…

…n that some browsers add because of display inline-block.
  • Loading branch information...
1 parent 4754690 commit de24d4117ac3bdee7448dee3fe9d08dcfe42c325 @jaspermdegroot jaspermdegroot committed Aug 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 css/structure/jquery.mobile.controlgroup.css
View
2 css/structure/jquery.mobile.controlgroup.css
@@ -16,7 +16,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 { display: inline-block; zoom: 1; }
+.ui-controlgroup-horizontal .ui-controlgroup-controls { display: inline-block; vertical-align: middle; zoom: 1; }
.ui-controlgroup-horizontal .ui-btn-inner { text-align: center; }
.ui-controlgroup-horizontal .ui-btn, .ui-controlgroup-horizontal .ui-select,
.ui-controlgroup-horizontal .ui-checkbox, .ui-controlgroup-horizontal .ui-radio { float: left; clear: none; margin: 0 -1px 0 0; }

0 comments on commit de24d41

Please sign in to comment.