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
Today, both width and height is set. If an image is too large... the view wont look good.
Sollution:
Only width should be set, then height will be calculated by the browser.
And the fail safe should be to add maxWidth: 100%. This is the common way to handle it using css.
The text was updated successfully, but these errors were encountered:
Today, both width and height is set. If an image is too large... the view wont look good.
Sollution:
Only width should be set, then height will be calculated by the browser.
And the fail safe should be to add maxWidth: 100%. This is the common way to handle it using css.
The text was updated successfully, but these errors were encountered: