Topic: margin top in mdb-side-nav
how to make a top margin in mdb-side-nav.
I would like mdb-navbar to always be top and mdb-side-nav come below it.
I've already tried to put mdb-side-nav inside mdb-container but it's no use.
Jakub Strebeyko staff answered 6 years ago
Hi there @alax,
To pass a positioning class (say, mt-5
) to a SideNav
component, please pass its name as a string to sideNavClass
prop. Direct style-attribute-based alteration will be available from the upcoming release on through sideNavStyle
prop, accepting either a string or an object.
With Bestest of Regards, Kuba
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 5.1.1
- Device: Desktop
- Browser: Chorme
- OS: Windows 10
- Provided sample code: No
- Provided link: No