Sidebar length

ayseboogie pro asked 6 years ago

My sidebar is astronomically long. It seems if I take away
<div class="sidenav-bg mask-strong"></div>

line of code, my sidebar length normalizes,
but that also takes away the mask which I want.
How do I fix the length but keep the mask?

Damian Gemza staff answered 6 years ago

Dear ayseboogie, Unfortunately, for now your desired behavior is not possible to achieve. There's a bug in our Side Nav and we have to fix it. You could use a workaround, but only in case, in which your side nav is small (he have items which are contained in one viewport). For a workaround, please add below CSS code into your global styles.scss stylesheet:
.side-nav .sidenav-bg::after {
margin-bottom: unset;
padding-bottom: unset;
}
Best Regards, Damian

ayseboogie pro commented 6 years ago

I can make that work, thank you

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.2
  • Device: Lenovo laptop
  • Browser: Firefox
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags