disable sticky navigation for mobile
This commit is contained in:
@@ -2,14 +2,17 @@
|
|||||||
|
|
||||||
.subnavigation {
|
.subnavigation {
|
||||||
|
|
||||||
position: sticky;
|
|
||||||
top: 0;
|
|
||||||
z-index: 1000;
|
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
background-color: rgba($color-black, 0.9);
|
background-color: rgba($color-black, 0.9);
|
||||||
color: $color-white;
|
color: $color-white;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
@media (min-width: 600px) {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
|
||||||
&__link {
|
&__link {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: rgba($color-white, 0.5);
|
color: rgba($color-white, 0.5);
|
||||||
|
|||||||
Reference in New Issue
Block a user