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
On the other side, in different scenarios, it may be that a short but wide image is "cropped" with your suggestion. Perhaps setting the max-height and max-width should solve the original problem of not showing a distorted image, no matter its height/width ratio, e.g.
Logo gets distorted due to the both width and height being defined in the style.
<img src="%s" style="height:18vh!important;width:95%;"/>
If the width is omitted, then the logo aspect ratio remains correct.
<img src="%s" style="height:18vh!important;"/>
This would work fine when logo is provided as a square image. (ex. 512x512 pixels.)
The text was updated successfully, but these errors were encountered: