Left menu is responsive

This commit is contained in:
gaelle morin
2020-01-19 10:48:22 +01:00
parent 90a92cc832
commit 56953601e1
4 changed files with 87 additions and 1 deletions

View File

@ -168,6 +168,10 @@
&::before {
margin-left: 1.5rem;
}
@include breakpoint(sm) {
display: none;
}
}
}
}
@ -236,5 +240,13 @@
}
}
}
.mobile-menu-icon {
display: none;
@include breakpoint(sm) {
display: block;
}
}
}

View File

@ -188,4 +188,21 @@
background-color: $color-213-13-86;
}
}
&.mobile-opened {
@include breakpoint(sm) {
bottom: 0;
min-width: 80%;
position: fixed;
right: 0;
top: 0;
z-index: 1;
}
}
&.mobile-closed {
@include breakpoint(sm) {
display: none;
}
}
}