[IMP] web: use burger menu for tablet in vertical mode

Task #34853
This commit is contained in:
Kinjal Mehta
2018-05-29 14:18:38 +02:00
committed by Géry Debongnie
parent d5359cfcf4
commit 4e5f826ce5
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ function _updateSizeProps() {
var sc = _getSizeClass();
if (sc !== config.device.size_class) {
config.device.size_class = sc;
config.device.isMobile = config.device.size_class <= config.device.SIZES.XS;
config.device.isMobile = config.device.size_class <= config.device.SIZES.SM;
}
}
+1 -1
View File
@@ -66,7 +66,7 @@
@extend %dropdown-li-a-padding;
color: $o-main-text-color;
@media (max-width: $screen-xs-max) {
@media (max-width: $screen-sm-max) {
color: white;
text-decoration: underline;
}
+4 -4
View File
@@ -38,7 +38,7 @@
font-weight: 500;
line-height: $o-navbar-height;
@media (max-width: $screen-xs-max) {
@media (max-width: $screen-sm-max) {
float: none;
margin: 0;
border-bottom: 1px solid $o-navbar-inverse-link-hover-bg;
@@ -148,7 +148,7 @@
}
}
@media (max-width: $screen-xs-max) {
@media (max-width: $screen-sm-max) {
@include o-transition(height, 200ms, linear);
position: relative;
@@ -208,7 +208,7 @@
}
}
@media (max-width: $screen-xs-max) {
@media (max-width: $screen-sm-max) {
body.o_mobile_menu_opened {
overflow: hidden;
height: 100%;
@@ -221,7 +221,7 @@
}
}
@media (max-width: $screen-xs-max) {
@media (max-width: $screen-sm-max) {
.o_switch_company_menu > .dropdown-menu {
padding-top: 0px;
li.bg-info {