sticky header for mobile

This commit is contained in:
Janine Luk
2019-05-04 14:55:18 +01:00
committed by Kristina Lim
parent 592a468448
commit ac8790ecb3
2 changed files with 5 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
}
h1 {
margin-top: 2rem;
margin-top: $topbar-height;
@media all and (min-width: 768px) {
margin-top: 10rem;

View File

@@ -140,6 +140,10 @@ nav.top-bar {
.tab-bar {
background-color: white;
position: fixed;
width: 100%;
height: 2.8em;
z-index: 1;
.cart-span {
background-color: #f4704c;
@@ -173,7 +177,6 @@ nav.top-bar {
}
}
.off-canvas-list li.language-switcher ul li {
list-style-type: none;
padding-left: 0.5em;