Skip to content

Commit

Permalink
Fix navbar position
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkudrna committed Mar 18, 2018
1 parent c1b6033 commit b13ee1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions css/drupal-bootstrap-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,10 @@ body.navbar-is-static-top {
margin-top: 0;
}
body.navbar-is-fixed-top {
margin-top: 65px;
margin-top: 50px;
}
body.navbar-is-fixed-bottom {
padding-bottom: 65px;
padding-bottom: 50px;
}
@media screen and (min-width: 768px) {
body {
Expand Down
4 changes: 2 additions & 2 deletions resources/less/bootstrap_drupal/component/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ body {
margin-top: 0;
}
&.navbar-is-fixed-top {
margin-top: (@navbar-height + (@grid-gutter-width / 2));
margin-top: @navbar-height;
}
&.navbar-is-fixed-bottom {
padding-bottom: (@navbar-height + (@grid-gutter-width / 2));
padding-bottom: @navbar-height;
}

@media @tablet {
Expand Down

0 comments on commit b13ee1e

Please sign in to comment.