Skip to content

Commit

Permalink
Fix hidden icon when nav menu doesn't fit the page
Browse files Browse the repository at this point in the history
If the navigation menu height is greater than the window height and
the menu is minimized, the locale and theme selection icons are
not displayed. This commit fixes this issue by modifying the z-index.
  • Loading branch information
MassimilianoLattanzio committed Apr 14, 2023
1 parent 0e0f322 commit e48e541
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,14 @@ nav.menu {
bottom: 0;
}

body.admin-nav-hidden .admin-nav:not(.fits) {
.admin-locale-selection, .admin-theme-selection {
&::after {
z-index: 0;
}
}
}

.admin-login-nav {
list-style: none;
padding: 0;
Expand Down

0 comments on commit e48e541

Please sign in to comment.