Skip to content
New issue

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

[Bug Report] Images are stretched at the paged mode reader #218

Closed
Leeingnyo opened this issue Aug 18, 2021 · 1 comment · Fixed by #221
Closed

[Bug Report] Images are stretched at the paged mode reader #218

Leeingnyo opened this issue Aug 18, 2021 · 1 comment · Fixed by #221
Assignees
Labels
bug Something isn't working

Comments

@Leeingnyo
Copy link
Member

Describe the bug

Here is an image (1500(W) x 1103(H)) at a screen (260(W) x 240(H))

image

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

image

After adding 100% max-width, 100% max-height and object-fit: contain property. this bug would be resolved.

@Leeingnyo Leeingnyo added the bug Something isn't working label Aug 18, 2021
@Leeingnyo Leeingnyo self-assigned this Aug 18, 2021
@hkalexling hkalexling mentioned this issue Aug 22, 2021
@mango-assistant
Copy link

Hi there! The issue has been fixed in v0.23.0. Thanks for the bug report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant