-
-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty content with sidenav collapsed and menu expanded #56
Labels
Comments
|
I know this issue. The easiest way I think you can make menu collapsed when sidenav is collapsed. I will try other methods to improve it in the future. |
|
Well thats when the sidenav is collapsed so i did this .matero-sidenav-collapsed {
.matero-sidenav {
// rest remains same
// Hides the height of the submenu
.submenu {
height: 0;
overflow: hidden;
// Shows the submenu when the sidenav is not collapsed
&.active {
height: auto;
}
}
&:hover {
width: var(--sidenav-width);
overflow: visible; //added
.submenu{
height: auto; // Shows de submenu in Hover
}
}
}
} |
nzbin
added a commit
that referenced
this issue
Jun 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Hi Zongbin, how are you.
First, thanks and congratulations for this awesome template.
The issue is about when sidenav is collapsed and the menu is expanded, the sidenav content sometimes appears empty, In part because the submenu items have no icons. This cause in my opinion, a loss of context. I attach some reference images
Do you have some tip to avoid this, some style/structure advice.
Thanks 🙂
The text was updated successfully, but these errors were encountered: