mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-06 04:08:22 +01:00
Fix #15911: Clear the floats and move the padding to the header
This commit is contained in:
parent
eefa0ada96
commit
05513c52c4
@ -31,7 +31,7 @@
|
|||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="header">
|
<div class="header clearfix">
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="nav nav-pills pull-right">
|
<ul class="nav nav-pills pull-right">
|
||||||
<li role="presentation" class="active"><a href="#">Home</a></li>
|
<li role="presentation" class="active"><a href="#">Home</a></li>
|
||||||
|
@ -14,11 +14,11 @@ body {
|
|||||||
|
|
||||||
/* Custom page header */
|
/* Custom page header */
|
||||||
.header {
|
.header {
|
||||||
|
padding-bottom: 20px;
|
||||||
border-bottom: 1px solid #e5e5e5;
|
border-bottom: 1px solid #e5e5e5;
|
||||||
}
|
}
|
||||||
/* Make the masthead heading the same height as the navigation */
|
/* Make the masthead heading the same height as the navigation */
|
||||||
.header h3 {
|
.header h3 {
|
||||||
padding-bottom: 19px;
|
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user