Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #5008 - Added clearfix for navbar.

  • Loading branch information...
commit 446fed733d1587d69e09e19ff0e8de44e2bdee7c 1 parent 89b138e
Jasper de Groot jaspermdegroot authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 css/structure/jquery.mobile.navbar.css
4 css/structure/jquery.mobile.navbar.css
View
@@ -1,6 +1,8 @@
.ui-navbar { max-width: 100%; }
.ui-navbar.ui-mini { margin: 0; }
-.ui-navbar ul { list-style:none; margin: 0; padding: 0; position: relative; display: block; border: 0; max-width: 100%; overflow: visible; }
+.ui-navbar ul:before, .ui-navbar ul:after { content: " "; display: table; }
+.ui-navbar ul:after { clear: both; }
+.ui-navbar ul { list-style:none; margin: 0; padding: 0; position: relative; display: block; border: 0; max-width: 100%; overflow: visible; zoom: 1; }
.ui-navbar li .ui-btn { display: block; text-align: center; margin: 0 -1px 0 0; border-right-width: 0; }
.ui-navbar li .ui-btn-icon-right .ui-icon { right: 6px; }
Please sign in to comment.
Something went wrong with that request. Please try again.