mdb-icon fixed width


Topic: mdb-icon fixed width

BizEquity pro premium asked 12 months ago

Expected behavior I want to be able to set fixed width for icons using mdb-icon tag. It is possible with tags but cannot get it to work with angular equivalent.

Actual behavior Be able to set fixed width to all icons.

Resources (screenshots, code snippets etc.) I would upload screenshot but it is failing on me.


Arkadiusz Idzikowski staff commented 12 months ago

How exactly do you set the fixed width without using mdb-icon component?


BizEquity pro premium commented 12 months ago

Just using tags solves the problem and icons are the same width. You also have a docs on how to make icons with tags same width using font-size.


BizEquity pro premium commented 12 months ago

I made it work with mdb-icon using fa-fw class. Not sure how it works but adding this class to mdb-icon fixed the issue.


Please insert min. 20 characters.
Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: Angular
  • MDB Version: 8.5.0
  • Device: Macbook Pro
  • Browser: Chrome
  • OS: macOS Mojave
  • Provided sample code: No
  • Provided link: No