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

Fix for a regression with image sizing when specifiying both a max-width #373

Closed

Conversation

rototor
Copy link
Contributor

@rototor rototor commented Jul 29, 2019

and a max-height. This just did not work correctly, it broke the layout.

We must respect the scaling factor between instrinct-sizes and css-sizes.

This was already fixed in the "too small case", but not in the other case.

Feel free to replace the sample images with something else. Just make sure that they are big enough.

and a max-height. This just did not work correctly, it broke the layout.

We must respect the scaling factor between instrinct-sizes and css-sizes.

This was already fixed in the too small case, but not in the other case.
@danfickle
Copy link
Owner

Thanks @rototor,

I don't know how I missed this. Even the comment above hints at the correct code!

Are the images OK to relicense as LGPL? If not I probably should change them.

@rototor
Copy link
Contributor Author

rototor commented Jul 30, 2019

@danfickle This are customer pictures, so it would be better if you could replace them.

danfickle added a commit that referenced this pull request Aug 20, 2019
Was broken when intrinsic width or height were greater than max-width or max-height.

Thanks again @rototor.

Public domain images provided by pexabay at www.pexels.com

Co-Authored-By: Emmeran Seehuber <rototor@rototor.de>
@danfickle danfickle closed this Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants