[Enhancement] Hide sidebar on tablets (#358)

* [Enhancement] Hide sidebar on tablets

* Remove unnecessary console.log

* Use beforeDestroy
This commit is contained in:
Pranav Raj S
2019-12-12 12:53:15 +05:30
committed by Sojan Jose
parent 2b41e91768
commit febc4bef83
12 changed files with 136 additions and 38 deletions

View File

@@ -3,9 +3,14 @@
flex-direction: column;
.chat-list__top {
@include flex;
@include padding($space-normal $zero $space-small $zero);
align-items: center;
justify-content: space-between;
.page-title {
float: left;
@include flex;
margin-bottom: $zero;
margin-left: $space-normal;
}

View File

@@ -126,3 +126,22 @@
margin-top: auto;
}
}
.hamburger--menu {
cursor: pointer;
display: none;
margin-right: $space-normal;
@media screen and (max-width: 1200px){
display: block;
}
}
.header--icon {
display: block;
margin-right: $space-normal;
@media screen and (max-width: 1200px){
display: none;
}
}