Skip to content

Commit

Permalink
Merge 1c9be8a into 41f6b7e
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmavis committed Oct 19, 2018
2 parents 41f6b7e + 1c9be8a commit b9f4015
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion network-api/networkapi/buyersguide/templates/bg_base.html
Expand Up @@ -21,7 +21,7 @@
<body class="pni" id="pni-{% block body-id %}{% endblock %}">
{% include "./primary_nav.html" %}
<div class="underneath-screen-overlay">
<div class="category-nav sticky-nav">
<div class="category-nav">
<div class="container">
<div class="row">
<div class="col">
Expand Down
Expand Up @@ -12,7 +12,7 @@

.menu-container {
position: relative;
z-index: 3;
z-index: 30;

.burger {
width: 18px;
Expand Down
12 changes: 4 additions & 8 deletions source/sass/buyers-guide/components/header.scss
@@ -1,19 +1,15 @@
$category-nav-border-bottom-thickness: 4px;

.sticky-nav {
position: sticky;
position: -webkit-sticky;
top: 0;
z-index: 2;
}

.category-nav {
background: white;
overflow-x: auto;
white-space: nowrap;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
z-index: 1;
position: sticky;
position: -webkit-sticky;
top: 0;
z-index: 10;

a {
display: inline-block;
Expand Down

0 comments on commit b9f4015

Please sign in to comment.