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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a very basic grid setup like this:
every ktd-grid-item has an image with identical aspect rations with a css max-width: 95%; height: auto;
My problem is that up to a certain window width, the images scale in a way that they properly fit inside the ktd-grid-item,

but in full screen mode with a 1920 screen width, they overflow at the bottom:

(making the window smaller increases the vertical gap between the 2 rows - that would be kind of ok)
I've played with the rowHeight and h params of the KtdGridLayout but can't achieve anything so that the images would fully fit with all screen sizes.
Appreciate any idea or best practice...
Beta Was this translation helpful? Give feedback.
All reactions