MDB Icons expand automatically to fit card width


Topic: MDB Icons expand automatically to fit card width

ccravenbartle pro premium asked 7 months 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 7 months ago

can you copy and paste all your code?


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: React
  • MDB Version: 4.27.0
  • Device: PC, iPad
  • Browser: Chrome, Safari
  • OS: Windows 10, IOS
  • Provided sample code: No
  • Provided link: No
Tags