Hub Hack: Stop Images from Stretching on Mobile Devices

Follow

Use this Custom Code snippet as a fix if your Hub's images are getting stretched when viewed on mobile devices.


Warning

Hub Hacks are NOT official Uberflip features. They may not work on all Hubs, or may cause unexpected behavior. Before implementing a Hub Hack on a production Hub, we strongly recommending testing it in a safe environment (such as a staging Hub) if possible.

Uberflip Support is not able to help troubleshoot issues with Hub Hacks: if a Hub Hack is not working correctly in your Hub, Uberflip Support can only help you to disable it.

Details

  • Type: CSS
  • Placement: Head
  • Notes: Can be placed in the Custom Code on individual Items if needed.

 

Code

<style>
.img {height: auto}
</style>

 

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.