Skip to content

Commit

Permalink
Fix alignment of navbar header in fixed navbars
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Aug 16, 2013
1 parent afdaa0e commit 3bb5644
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions less/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3bb5644

Please sign in to comment.