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

[form-builder] Use max-fit and and DPR-aware height #1308

Merged
merged 1 commit into from
May 21, 2019

Conversation

rexxars
Copy link
Member

@rexxars rexxars commented May 20, 2019

We are currently scaling small images up to 100px in height, and on high-density displays, we're scaling 100px tall images to 200/300px etc. This PR ensures that we're not upscaling small images, as well as taking device pixel ratio into account when requesting an appropriate size.

Copy link
Contributor

@kristofferjs kristofferjs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

@rexxars rexxars merged commit 15d146e into next May 21, 2019
@rexxars rexxars deleted the image-list-fix-dimensions branch May 21, 2019 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants