object-fit: contain would make more sense... No point in having the edges cut off. (Also, wow. I answered the question Pang linked to. I have absolutely no memory of that.)
This site is intended for bugs, features, and discussion of Stack Overflow and the software that powers it. You must have an account on Stack Overflow to participate.
object-fit: contain
would make more sense... No point in having the edges cut off. (Also, wow. I answered the question Pang linked to. I have absolutely no memory of that.)