Hide menu button when drawer is fixed open (desktop view)
-
In v0.14 we lost the
hide-on-drawer-visible
helper class for menu button. How can I hide it now? -
Since you can now define your own breakpoint it makes no sense to keep that CSS class.
So make one yourself, like in the following example where breakpoint is set to 800px:
@media (min-width 800px) .hide-me display none
-
Please note that the button also works if above breakpoint. You can hide/show the panel at all times.
-
Thank you! I didn’t think to that point… Actually is very simple as you said!
-
@n-taddei Care for a PR on layout docs to add this info too? Might be good for others too.
-
@rstoenescu where do I have to do the PR? on quasar-framework repo? Or there is a docs repo instead?
-
-
Done. It’s the first time I’m doing those stuff, so forgive me if I did something unkind.
-
Don’t worry. Hit “create PR” or something like this.