Skip to content
This repository
Browse code

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

…n that some browsers add because of display inline-block.
  • Loading branch information...
commit 3e8116afb39ea8de840dd97c6f326adbe3586af6 1 parent 807046d
Jasper de Groot authored August 04, 2012
2  css/structure/jquery.mobile.controlgroup.css
@@ -21,7 +21,7 @@
21 21
 .ui-controlgroup-horizontal .ui-controlgroup-controls:before,
22 22
 .ui-controlgroup-horizontal .ui-controlgroup-controls:after { content: ""; display: table; }
23 23
 .ui-controlgroup-horizontal .ui-controlgroup-controls:after { clear: both; }
24  
-.ui-controlgroup-horizontal .ui-controlgroup-controls { display: inline-block; zoom: 1; }
  24
+.ui-controlgroup-horizontal .ui-controlgroup-controls { display: inline-block; vertical-align: middle; zoom: 1; }
25 25
 .ui-controlgroup-horizontal .ui-btn-inner { text-align: center; }
26 26
 .ui-controlgroup-horizontal.ui-mini .ui-btn-inner { height: 16px; line-height: 16px; }
27 27
 .ui-controlgroup-horizontal .ui-btn, .ui-controlgroup-horizontal .ui-select,

0 notes on commit 3e8116a

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