0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-28 20:52:21 +01:00

Fix alignment of navbar header in fixed navbars

This commit is contained in:
Mark Otto 2013-08-16 00:54:12 -07:00
parent afdaa0e6f0
commit 3bb5644c72
3 changed files with 9 additions and 1 deletions

View File

@ -3295,6 +3295,10 @@ button.close {
.navbar-fixed-bottom {
border-radius: 0;
}
.navbar-fixed-top .navbar-header,
.navbar-fixed-bottom .navbar-header {
margin-left: -15px;
}
}
.navbar-fixed-top {

File diff suppressed because one or more lines are too long

View File

@ -112,6 +112,10 @@
// Undo the rounded corners
@media (min-width: @grid-float-breakpoint) {
border-radius: 0;
.navbar-header {
margin-left: -@navbar-padding-horizontal;
}
}
}
.navbar-fixed-top {