Topic: mdb-icon fixed width
BizEquity priority asked 4 years 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Priority
- 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
Arkadiusz Idzikowski staff commented 4 years ago
How exactly do you set the fixed width without using mdb-icon component?
BizEquity priority commented 4 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 priority commented 4 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.