Change side menu width when expose aside is enabled?


#1

I would like to adjust the width of the side menu when it is showing as a result of expose aside. Similar to Onsen UI’s split-view component that lets you specify a percentage of the view the main page gets. The side menu would then get whatever percentage is left. I searched the forum and haven’t found anything pertaining to this specific feature.

Thanks,
Isaiah Aguilera


#2

You need to add a class to your side menu and make it set the width at whatever media query your expose-aside-when is using.


#3

Thank you for you reply. I have tried that but it seems that this by itself will not automatically push the main view over. The side menu simply extends under the main view. There must be additional work that needs to be done with the main view in order to make this work. I was hoping that this functionality was built into the framework and I was missing it some how.