Skip to content

Commit

Permalink
Merge pull request #4166 from Codeinwp/fix/mobile-search-icon
Browse files Browse the repository at this point in the history
Fix the opening of Search Icon in Mobile Sidebar.
  • Loading branch information
preda-bogdan authored Jan 26, 2024
2 parents 006db9b + 981f363 commit 31d31d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/views/nav_walker.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public function get_sidebar_and_accessibility_style() {
$sidebar_animation_css .= '.is-menu-sidebar.menu_sidebar_dropdown .header-menu-sidebar { height: auto; }';
$sidebar_animation_css .= '.is-menu-sidebar.menu_sidebar_dropdown .header-menu-sidebar-inner { max-height: 400px; padding: 20px 0; }';
$sidebar_animation_css .= '.is-menu-sidebar.menu_sidebar_full_canvas .header-menu-sidebar { opacity: 1; }';
$sidebar_animation_css .= '.header-menu-sidebar .menu-item-nav-search { pointer-events: none; }';
$sidebar_animation_css .= '.header-menu-sidebar .menu-item-nav-search:not(.floating) { pointer-events: none; }';
$sidebar_animation_css .= '.header-menu-sidebar .menu-item-nav-search .is-menu-sidebar & { pointer-events: unset; }';
/* Accessibility css. */
$accessibility_caret_css = '.nav-ul li:focus-within .wrap.active + .sub-menu { opacity: 1; visibility: visible; }';
Expand Down

0 comments on commit 31d31d7

Please sign in to comment.