diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-05-23 11:11:43 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-05-23 11:14:22 -0500 |
commit | c0061384464b731374267c4938e41412b2f2c45f (patch) | |
tree | 664c583634106f5e40e49cbaae2a8fe656e76cf6 | |
parent | d07e85e1033f8026f155c6171cb3ebcd6b93d9ed (diff) | |
download | gitlab-ce-c0061384464b731374267c4938e41412b2f2c45f.tar.gz |
Only show extra nav border on layout nav32700-extra-nav-border
-rw-r--r-- | app/assets/stylesheets/framework/header.scss | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss index ce8b27a1951..d8645afb7da 100644 --- a/app/assets/stylesheets/framework/header.scss +++ b/app/assets/stylesheets/framework/header.scss @@ -40,7 +40,17 @@ header { } &.with-horizontal-nav { - border-color: transparent; + border-bottom: 0; + + .navbar-border { + height: 1px; + position: absolute; + right: 0; + left: 0; + bottom: -1px; + background-color: $border-color; + opacity: 0; + } } .container-fluid { @@ -114,16 +124,6 @@ header { } } - .navbar-border { - height: 1px; - position: absolute; - right: 0; - left: 0; - bottom: 0; - background-color: $border-color; - opacity: 0; - } - .global-dropdown { position: absolute; left: -10px; |