submenu stucked inside content proper possition and backgroudn
This commit is contained in:
parent
9878abd21d
commit
3e25aaf87e
File diff suppressed because one or more lines are too long
|
@ -140,6 +140,14 @@
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
padding-left: $global-padding * 4;
|
padding-left: $global-padding * 4;
|
||||||
padding-right: $global-padding * 4;
|
padding-right: $global-padding * 4;
|
||||||
|
.sticky {
|
||||||
|
&.is-stuck {
|
||||||
|
background-color: scale-color($white, $alpha: 90%);
|
||||||
|
}
|
||||||
|
&.is-at-top {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue