modular-admin-html icon indicating copy to clipboard operation
modular-admin-html copied to clipboard

Is it possible to toggle the menu on certain pages?

Open Phorce opened this issue 8 years ago • 6 comments

I have a question, more than an issue.

Is it possible to toggle the menu and show the burger icon rather than the full menu on certain pages? Similar to what happens when viewing the page on an iPad?

Phorce avatar Jun 08 '17 10:06 Phorce

@Phorce sure, but It's not implemented out of the box.

I suggest adding an additional class sidebar-closed to .app element, which will adjust all the styles as per requirement. And the toggle button will just toggle that class

modularcoder avatar Jun 08 '17 12:06 modularcoder

@modularcoder adding sidebar-closed class seems not working. Hope you guys can also add feature where we can toggle shrink the sidebar on button click like most of dashboard where only icons are showing :)

jesephan avatar Aug 19 '17 07:08 jesephan

@jesephan yep, it's not implemented so far :) For now It needs to be done manually.

I'm working on V2 version which should support sidebar toggle / collapse functionality.

https://github.com/modularcode/modular-admin-html/tree/v2-dev https://modularcode.io/modular-admin-html-demo/

modularcoder avatar Aug 19 '17 17:08 modularcoder

@modularcoder That's nice I will surely switch to it when its ready lol by the way do have estimated release date for the v2?

jesephan avatar Aug 20 '17 10:08 jesephan

@jesephan not so far. And there's quite lot of work to do yet :/

modularcoder avatar Aug 20 '17 13:08 modularcoder

Has someone implemented a workaround for this?

iwalucas avatar Jun 17 '20 19:06 iwalucas