You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with a rectangular image (size 225x300), the width is 128 and the height is 170.
The css for is-128x128 and img (from bulma-min.css, as provided by the browser) are:
Overview of the problem
This is about the Bulma CSS framework
I'm using Bulma version [1.0.0]
My browser is: Firefox (but I tested on Edge too)
I didn't find any duplicate
Description
When using
with a rectangular image (size 225x300), the width is 128 and the height is 170.
The css for is-128x128 and img (from bulma-min.css, as provided by the browser) are:
If I put width:auto on .image img and max-height: 100% on img, then the height becomes 128 and the width is decreased to keep the ratio.
Steps to Reproduce
use the html above with a 225x300 image
Expected behavior
I would expect that is-NxN provide an image which max size is N in both directions, not only width
Actual behavior
Only the width is max size N
The text was updated successfully, but these errors were encountered: