fix mobile menu

This commit is contained in:
chihyux 2020-06-15 11:24:31 +08:00
parent 4d270eab7b
commit 7c8a0a90f4
3 changed files with 3 additions and 2 deletions

View File

@ -503,7 +503,7 @@
//背景widget設定 //背景widget設定
if ( location.href.search('editmode=on') != -1 ) { if ( location.href.search('editmode=on') != -1 ) {
$('.background').css('z-index','2'); $('.background').css('z-index','0');
} else { } else {
$('.background').css('z-index','-1'); $('.background').css('z-index','-1');
}; };

View File

@ -89,6 +89,7 @@
background: lighten($theme-gray, 60%); background: lighten($theme-gray, 60%);
margin-bottom: 1.25em; margin-bottom: 1.25em;
border-radius: 0.125em; border-radius: 0.125em;
width: 100%;
@media screen and (max-width: $screen-sm) { @media screen and (max-width: $screen-sm) {
margin-right: 1.25em; margin-right: 1.25em;

View File

@ -245,7 +245,7 @@
@media (max-width: 767px) { @media (max-width: 767px) {
.modules-menu .modules-menu-level-0 { .modules-menu .modules-menu-level-0 {
display: unset; flex-direction: column;
} }
} }