Skip to content
This repository
Browse code

Fixes #5008 - Added clearfix for navbar.

  • Loading branch information...
commit 446fed733d1587d69e09e19ff0e8de44e2bdee7c 1 parent 89b138e
Jasper de Groot authored September 17, 2012

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  css/structure/jquery.mobile.navbar.css
4  css/structure/jquery.mobile.navbar.css
... ...
@@ -1,6 +1,8 @@
1 1
 .ui-navbar { max-width: 100%; }
2 2
 .ui-navbar.ui-mini { margin: 0; }
3  
-.ui-navbar ul { list-style:none; margin: 0; padding: 0; position: relative; display: block; border: 0; max-width: 100%; overflow: visible; }
  3
+.ui-navbar ul:before, .ui-navbar ul:after { content: " "; display: table; }
  4
+.ui-navbar ul:after { clear: both; }
  5
+.ui-navbar ul { list-style:none; margin: 0; padding: 0; position: relative; display: block; border: 0; max-width: 100%; overflow: visible; zoom: 1; }
4 6
 .ui-navbar li .ui-btn { display: block; text-align: center; margin: 0 -1px 0 0; border-right-width: 0; }
5 7
 .ui-navbar li .ui-btn-icon-right .ui-icon { right: 6px; }
6 8
 

0 notes on commit 446fed7

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