Topic: MDBSidenavLink icon rotation

EXPERTiCO priority asked 8 months ago


Hello. I added icon to my MDBSidenavLink

<MDBSideNavLink icon="cogs" :to="..." />

It looks like: enter image description here

But after click icon rotates to 180 degrees enter image description here

Why? How to stop it?


Mikołaj Smoleński staff answered 8 months ago


The icon should be added to MDBSideNavItem or inside MDBSideNavLink , not directly to MDBSideNavLink component.

https://mdbootstrap.com/docs/b5/vue/navigation/sidenav/

Keep coding,  Mikołaj from MDB



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: Priority
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 1.9.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No