blazorbootstrap
blazorbootstrap copied to clipboard
Sidebar: Add option to hide sidebar completely for tablets
The sidebar is very large on iPad. Take a look on this image:
Even when you toggle the sidebar you still have a small bar on the left. It would be great if you could add an option to the sidebar to hide it completely and swipe it out like on desktop when running on tablets.
Space on tablets is very important for our apps and we don't need to see the sidebar 95% of the time.
@gvreddy04 basically what I try to achieve with this sidebar is the same behaviour as this:
Overriding --bb-sidebar-collapsed-width
to
--bb-sidebar-collapsed-width: 0px;
kinda works as I want it but it still displays the logo and the border for it:
it would be great if you can set a custom class for toggle and show to override it's behaviour or to set display
property to none
using
.bb-sidebar.collapsed {
display: none !important;
}
allows me to fully hide the sidebar