Fix #15911: Clear the floats and move the padding to the header

This commit is contained in:
Mark Otto 2015-02-24 16:43:07 -08:00
parent eefa0ada96
commit 05513c52c4
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@
<body>
<div class="container">
<div class="header">
<div class="header clearfix">
<nav>
<ul class="nav nav-pills pull-right">
<li role="presentation" class="active"><a href="#">Home</a></li>

View File

@ -14,11 +14,11 @@ body {
/* Custom page header */
.header {
padding-bottom: 20px;
border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
padding-bottom: 19px;
margin-top: 0;
margin-bottom: 0;
line-height: 40px;