-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
How to set left sidebar is minimized as default #145
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
Comments
Hey, In Make body as this i.e., add the following class to it.
- Nithin |
*How to set left sidebar is minimized as default* [#145](coreui/coreui-free-react-admin-template#145) - refactor(Layout): LayoutHelper germ - refactor(Sidabar): use static methods from `LayoutHelper` - refactor(SidabarMinimizer): use static methods from `LayoutHelper`
Hi @ngoctai, @nithinkashyapn - thanks for pointing this out! Please update:
<AppSidebar fixed minimized>
...
</AppSidebar> From now on Let us know if this helps. |
Thank you. |
Thank you, need to add 2 things for this work. |
Hi @ngoctai, thanks for follow-up it's intended to work without manual adding class |
Yes, you're right. That is my mistake, after clean cache that works perfectly as you said. Thanks a lot. |
Hi @xidedix, thanks for the minimized sidebar.
Is there a way to make them show? |
Hi @fabiandeny .sidebar-minimized .sidebar .nav-dropdown-items .nav-link .badge {
display: inline;
} or sth like this |
Thanks @xidedix |
Alright, instead of component which is definitely not user friendly to use since it doesn't allow tooptips. I am using something like following:
and then
Now how do I make the sidebar minimized by default.?? |
<app-sidebar style="background-color: white;" #appSidebar [fixed]="true" [display]="'lg'" [minimized]="sidebarMinimized" (minimizedChange)="toggleMinimize($event)"> |
Hi all,
I want to show left sidebar minimized as default. I have tried to add minimized props to
AppSidebar
element as bellow<AppSidebar fixed minimized>
. When i reload page i see it looks good but when i hover the mouse on it, it doesn't show child's menu level.It's behavior isn't the same when i click on
AppSidebarMinimizer
element two times (that way works perfectly)Thank all.
The text was updated successfully, but these errors were encountered: