Smallest right column

web
mobile

Topic: Smallest right column

Angelo Ghigi pro asked 2 months ago

I need to size the rightmost table column to the smalles width needed

Expected behavior

This example works fine

https://mdbootstrap.com/snippets/jquery/ghigi/1690514

Actual behavior

But my buttons have icons in them, and this breaks something(looks like sizing doesn't take into account icons' size)

https://mdbootstrap.com/snippets/jquery/ghigi/1690541

Any suggestion on how to solve the problem?

Alternative solutions are welcome, too


Marta Szymanska staff pro premium answered 2 months ago

Angelo Ghigi pro answered 2 months ago

That's it!

Thank you


Marta Szymanska staff pro premium commented 2 months ago

You're welcome.


Please insert min. 20 characters.
Status

Resolved

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: jQuery
  • MDB Version: 4.12.0
  • Device: Desktop
  • Browser: Firefox/Chrome/Safari
  • OS: OS X 10.12.X
  • Provided sample code: No
  • Provided link: Yes