Topic: MDB Icons expand automatically to fit card width

ccravenbartle free asked 3 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?

enter image description hereenter image description here


Piotr Glejzer staff commented 3 years ago

can you copy and paste all your code?



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: 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