Topic: MDB Icons expand automatically to fit card width
ccravenbartle asked 4 years ago
I am trying to embed an MDB Icon within an MDBCardFooter but no matter what I try the size being rendered fills the whole width of the card - some 280px. I have tried setting the size attribute, fontSize attribute, setting maxHeights and Height & Width but nothing works. I still end up with a huge icon. This happens with any icon I try to use. Where am I going wrong?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.27.0
- Device: PC, iPad
- Browser: Chrome, Safari
- OS: Windows 10, IOS
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 4 years ago
can you copy and paste all your code?