We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Here is an image (1500(W) x 1103(H)) at a screen (260(W) x 240(H))
Both the image and the screen has bigger width than height but the ratio of the image is bigger than the screen
The ratio of the image: 1500 / 1103 ~= 1.36 The ratio of the screen: 260 / 240 ~= 1.08
This makes the bug. the opposite situation (bigger height) would happen, too.
Expected behavior
After adding 100% max-width, 100% max-height and object-fit: contain property. this bug would be resolved.
object-fit: contain
The text was updated successfully, but these errors were encountered:
Hi there! The issue has been fixed in v0.23.0. Thanks for the bug report!
Sorry, something went wrong.
Leeingnyo
Successfully merging a pull request may close this issue.
Describe the bug
Here is an image (1500(W) x 1103(H)) at a screen (260(W) x 240(H))
Both the image and the screen has bigger width than height but the ratio of the image is bigger than the screen
The ratio of the image: 1500 / 1103 ~= 1.36
The ratio of the screen: 260 / 240 ~= 1.08
This makes the bug. the opposite situation (bigger height) would happen, too.
Expected behavior
After adding 100% max-width, 100% max-height and
object-fit: contain
property. this bug would be resolved.The text was updated successfully, but these errors were encountered: