Skip to content

Commit

Permalink
v 0.2.7-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
drlight17 authored Sep 23, 2024
1 parent 0e68123 commit 4415ab2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
7 changes: 7 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,11 @@
min-width: 100px
}

/*to fix main_menu auto hide in 1024 width */

@media all and (max-width: 1024px) {
.app-navigation {
position:relative!important;
}
}
/* Add styles here to customize the appearance of your app */
9 changes: 5 additions & 4 deletions user_menu_observer.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,13 @@ waitForElm('#content-vue > div').then((elm) => {
})
$(elm).on("focusout", function() {
//console.log('Navi lost focus!');
if (($(object_under_cursor.closest('.app-navigation')).length<1) && !(block_navi_hide)) {
if ($('.app-navigation-toggle-wrapper button').attr('aria-expanded') === "true") {
$('.app-navigation-toggle-wrapper button').click();
if (!block_navi_hide) {
if ($(object_under_cursor.closest('.app-navigation')).length<1) {
if ($('.app-navigation-toggle-wrapper button').attr('aria-expanded') === "true") {
$('.app-navigation-toggle-wrapper button').click();
}
}
}
});

})

0 comments on commit 4415ab2

Please sign in to comment.