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

DocumentHandler 2.0 - Large images with width and height set breaks view. #1314

Closed
jesade-vbg opened this issue Apr 5, 2023 · 1 comment
Closed
Assignees
Milestone

Comments

@jesade-vbg
Copy link
Contributor

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.

@jesade-vbg jesade-vbg added this to the 3.12 milestone Apr 5, 2023
@jesade-vbg jesade-vbg self-assigned this Apr 5, 2023
@jesade-vbg jesade-vbg added the bug label Apr 5, 2023
jesade-vbg added a commit that referenced this issue Apr 12, 2023
…aks-view

Fix that closes #1314 -dh2.0-large-images-breaks-view
jesade-vbg added a commit that referenced this issue Sep 8, 2023
@jesade-vbg jesade-vbg modified the milestones: 3.12, 3.x Sep 8, 2023
@jesade-vbg
Copy link
Contributor Author

Heavy impact... Last minute bug reports.. Reverted in rc 3.12. Maybe revisit in 3.13

@jesade-vbg jesade-vbg reopened this Sep 8, 2023
@jacobwod jacobwod modified the milestones: 3.x, 3.13 Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants