Skip to content

Commit

Permalink
mmenu fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Jan 17, 2022
1 parent 0ca9cb2 commit e134833
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
16 changes: 14 additions & 2 deletions src/assets/src/css/components/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,22 @@ html.mm-right .mm-menu.mm-fx-menu-slide {
box-shadow: none !important;
}

#mm-blocker {
z-index: 501 !important;
/* Для модальных окон бутстрап нужно сделать такой z-index */
/*#mm-blocker {
z-index: 1060 !important;
}
.mm-slideout {
z-index: 1050 !important;
}*/

.mm-slideout {
z-index: auto !important;
}

html.mm-right.mm-opening .mm-menu.mm-opened~.mm-slideout {
z-index: 1050 !important;
}

/**
* Оформление верхнего toolbar
Expand Down
3 changes: 2 additions & 1 deletion src/views/headers/header-mobile.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@

$this->registerJs(<<<JS
/* Перемещаем модальное окно в конец body. */
/* Это не работает нормально когда включено mmenu! Лучше так не делать! */
$('.modal').on('shown.bs.modal', function (e) {
$(this).appendTo("body")
//$(this).appendTo("body")
});
JS
Expand Down

0 comments on commit e134833

Please sign in to comment.