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
Hi,
I have the following rule for responsive images in my main css file :
img {
max-width: 100%;
height: auto;
}
The height property also apply to the zoom image with the class iiz__zoom-img and it causes a strange offset. The zoom image is not center anymore.
If I remove the height : auto, everything work fine but since I need this property, I'm looking for a way to overwrite it in my css but I couldn't find a working solution.
I tried the following but it doesn't seem to work :
.iiz__zoom-img {
height: unset;
}
Do you have any idea?
Thanks
The text was updated successfully, but these errors were encountered:
I need a little more information to look into this further. On the most recent versions of Chrome, Safari, and Firefox the computed value for the height seems to reflect the zoom image's height attribute even with that global image styling. It's possible some other settings are conflicting or other styling is interacting in an odd way.
Hi,
I have the following rule for responsive images in my main css file :
img {
max-width: 100%;
height: auto;
}
The height property also apply to the zoom image with the class iiz__zoom-img and it causes a strange offset. The zoom image is not center anymore.
If I remove the height : auto, everything work fine but since I need this property, I'm looking for a way to overwrite it in my css but I couldn't find a working solution.
I tried the following but it doesn't seem to work :
.iiz__zoom-img {
height: unset;
}
Do you have any idea?
Thanks
The text was updated successfully, but these errors were encountered: