Use fixed position instead of sticky for sidenav and top bar so it works in IE
This commit is contained in:
@@ -25,9 +25,12 @@ body {
|
||||
margin: $gap;
|
||||
flex-grow: 1;
|
||||
-ms-flex-negative: 1;
|
||||
top: 68px;
|
||||
position: relative;
|
||||
|
||||
@include media($medium-screen) {
|
||||
margin: $gap * 2;
|
||||
top: 68px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -9,7 +9,7 @@
|
||||
}
|
||||
|
||||
&.js-is-sticky {
|
||||
width: 80.8%;
|
||||
width: calc(100% - 25rem);
|
||||
}
|
||||
|
||||
.sticky-cta-container {
|
||||
|
@@ -2,11 +2,10 @@
|
||||
background-color: $color-blue-darkest;
|
||||
border-bottom: 1px solid $color-black;
|
||||
height: 48px;
|
||||
|
||||
&.js-is-sticky {
|
||||
width: 100%;
|
||||
z-index: 16;
|
||||
}
|
||||
position: fixed;
|
||||
top: 20px;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
|
||||
&__navigation {
|
||||
display: flex;
|
||||
|
@@ -3,6 +3,9 @@
|
||||
align-items: center;
|
||||
padding: ($gap / 2) $gap;
|
||||
z-index: 15;
|
||||
position: fixed;
|
||||
height: 20px;
|
||||
width: 100%;
|
||||
|
||||
img {
|
||||
flex-grow: 0;
|
||||
|
Reference in New Issue
Block a user