margin top in mdb-side-nav


Topic: margin top in mdb-side-nav

alax asked 6 years ago

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


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • 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