Remove fixed positioning from navbar

This commit is contained in:
Annabel Dunstone Gray 2016-11-17 16:46:48 -07:00
parent 58131ac93c
commit 060921921d
4 changed files with 3 additions and 7 deletions

View File

@ -283,10 +283,7 @@
}
.layout-nav {
position: fixed;
top: $header-height;
width: 100%;
z-index: 11;
background: $gray-light;
border-bottom: 1px solid $border-color;
transition: padding $sidebar-transition-duration;
@ -419,7 +416,6 @@
}
.page-with-layout-nav {
margin-top: $header-height + 2;
.right-sidebar {
top: ($header-height * 2) + 2;

View File

@ -1,5 +1,5 @@
.page-with-sidebar {
padding: $header-height 0 25px;
padding-bottom: 25px;
transition: padding $sidebar-transition-duration;
&.page-sidebar-pinned {

View File

@ -1,4 +1,4 @@
%header.navbar.navbar-fixed-top.navbar-gitlab{ class: nav_header_class }
%header.navbar.navbar-gitlab{ class: nav_header_class }
%a.sr-only.gl-accessibility{ href: "#content-body", tabindex: "1" } Skip to content
.container-fluid
.header-content

View File

@ -1,4 +1,4 @@
%header.navbar.navbar-fixed-top.navbar-gitlab.nav_header_class
%header.navbar.navbar-gitlab.nav_header_class
.container-fluid
.header-content
%button.side-nav-toggle