Topic: mdb-icon fixed width
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.
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: Yes
- Technology: MDB Angular
- MDB Version: 8.5.0
- Device: Macbook Pro
- Browser: Chrome
- OS: macOS Mojave
- Provided sample code: No
- Provided link: No
Related topics
Arkadiusz Idzikowski staff commented 5 years ago
How exactly do you set the fixed width without using mdb-icon component?
BizEquity pro premium priority commented 5 years 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 priority commented 5 years 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.