Skip to content
Snippets Groups Projects
Commit c524a1ec authored by Olivia206's avatar Olivia206
Browse files

Removed sticky from mobile

parent a4568b7e
No related branches found
No related tags found
No related merge requests found
header[role="banner"]
@if $header-sticky-enabled
background-color: $header-background-color
position: sticky
top: 0
transition: transform $header-sticky-transition
z-index: 10
html.is-scrolling-down:not(.is-menu-open) &
&:not(:hover)
transform: translateY(-100%)
&.is-sticky
background-color: $header-background-color
position: fixed
z-index: 10
@include media-breakpoint-up(md)
@if $header-sticky-enabled
position: sticky
top: 0
transition: transform $header-sticky-transition
html.is-scrolling-down:not(.is-menu-open) &
&:not(:hover)
transform: translateY(-100%)
&.is-sticky
position: sticky
@include media-breakpoint-down(md)
padding: 1rem 0
width: 100%
nav[role="navigation"]
.container
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment