Is there any option to use gridstack.js
with each grid-stack-item
height
based on inner content like image
.
In my scenario each images
having different height so it's not showing correctly on card.
It gives scrollbar inside grid-stack-item
to view image, that is wrong.
Any option or workaround or other JS plugin/library that will restrict fixed height based on any factor.
Current behavior
Expected behavior
Height will be 100%
based on width so image aspect ratio
preserves.