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
I have just started using reflex. When using a responsive image with just grid__cell-img it always scales up (probably also when used inside a cell!). It can be more flexible to make the upscale an extra class. The classname I have used is just a suggestion.
My thinking on this is if you want the image treated as a flex item, you use the grid__cell-img class so it fills the available space correctly, otherwise you set up a grid__cell within which you can treat images however you like as they are then out of the flexbox flow.
However maybe this isn't clear, or ideal. I'm open to further discussion and suggestions.
I have just started using reflex. When using a responsive image with just grid__cell-img it always scales up (probably also when used inside a cell!). It can be more flexible to make the upscale an extra class. The classname I have used is just a suggestion.
.@{reflex-prefix}grid__cell-img {
display: block;
.display-flex-only();
.flex(0, 0, auto);
margin-left: 0;
margin-right: 0;
max-width: 100%;
height: auto;
The text was updated successfully, but these errors were encountered: