responsive menu functionality fix

pull/776/head
razvanaldea89 6 years ago
parent 82b4912d42
commit c6753042a6

@ -940,7 +940,7 @@ a:hover, a:focus {
}
.toggle a {
padding: 15px 15px 0;
padding: 15px 0px 15px 0px;
margin: 0;
cursor: pointer;
}

@ -124,8 +124,8 @@ $(document).ready(function () {
$('.main_container > .row > .left_col').removeClass('col-md-2 col-lg-2').addClass('col-md-1 col-lg-1 col-2');
if ($('.main_container > .row > .left_col.menu_fixed').length) {
if ($(window).width() < 1024) {
$('.main_container > .row > .right_col_wrapper').addClass('offset-2');
if ($(window).width() < 992) {
$('.main_container > .row > .right_col_wrapper').addClass('offset-1');
} else {
$('.main_container > .row > .right_col_wrapper').removeClass('offset-md-2').addClass('offset-md-1');
}
@ -137,8 +137,8 @@ $(document).ready(function () {
$SIDEBAR_MENU.find('li.active-sm').addClass('active').removeClass('active-sm');
$('.main_container > .row > .left_col').removeClass('col-lg-1 col-2 col-md-1').addClass('col-lg-2 col-md-2');
if ($('.main_container > .row > .left_col.menu_fixed').length) {
if ($(window).width() < 1024) {
$('.main_container > .row > .right_col_wrapper').removeClass('offset-2');
if ($(window).width() < 992) {
$('.main_container > .row > .right_col_wrapper').removeClass('offset-1');
} else {
$('.main_container > .row > .right_col_wrapper').removeClass('offset-1').addClass('offset-md-2');
}

Loading…
Cancel
Save