Topic: How to Fix Sidenav on medium sized devices
On my Retina Macbook Pro, I would expect that the fixed sidenav would be fixed. Is there a way to make that happen?
Bryan
Damian Gemza staff answered 6 years ago
Dear @novvia
Please use the [fixed]="true"
input on the mdb-side-nav
element, and add a fixed
class for the same element.
If you want to change a breakpoint (I don't know which resolution you're using), please use the [sidenavBreakpoint]
input.
Please take a look at our Sidenav documentation.
Best Regards,
Damian
novvia commented 6 years ago
This does work, but I had to add a custom class that adjusted the input for the "content area" to account for the updated [sidenavBreakpoint]. Is that the way it should work, or should it automatically adjust the content if the sidenavBreakpoint is set?
Damian Gemza staff answered 6 years ago
Dear @novvia
You should manually adjust the content while changing breakpoints.
Best Regards,
Damian
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.5.1
- Device: Macbook Pro
- Browser: Chrome
- OS: OS X
- Provided sample code: No
- Provided link: No