-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
2.1: distorted images in Chrome #4935
Comments
Confirmed, annoying as hell! The culprit here seems to be 7b726f974f5e00c57b1087bb62d516943d9a58e3 and the awesome commit message doesn't give much insight to why it's needed. |
This has to be done. Don't use the height attribute, but external or inline styles. I've clarified the comments for the responsive images, but for proper scaling everywhere, this is necessary. |
this should go into responsive css then and not the main one. we're not using a responsive layout at all and thus expect the images to be shown with the proper static sizes. there's no way to undo these css changes by overriding in css unless you patch them out of bootstrap.css which makes them extremely annoying in our case. |
@markdotto Couldn't we have some sort of class to show that we want this? Usually I could just override the style but since I cannot undo this (height and width on img). |
Also, this breaks another really important aspect. I want to scale missing images and keep the original aspect ratio. |
* 'master' of https://github.com/twitter/bootstrap: (102 commits) last rebuild before 2.1.1 release regrettably remove the animated button for download on homepage to improve page performance in some browsers fixes twbs#4968 manually: typo in scaffolding docs about offset classes improve comments in image styles fixes twbs#4958: add version to minified js fixes twbs#4885: correct use of skew in .skew() mixin for FF fixes twbs#4957: use input border var for select element instead of #ddd fixes twbs#4959: docs example fixes twbs#4935: properly comment responsive image techniques and add CSS tests to support fixes twbs#4146: IE7-8 responsive image helper add comment to go with updated box-shadow mixin fixes twbs#4909: add color utility classes .text-warning, etc and document them fixes twbs#4925: ensure docs examples don't use fixed font-size and line-height for .lead fixes twbs#4922: use basefontsize for realz on .lead fixes twbs#4902: proper accordion html example fixes twbs#4910: use @baseLineHeight * 1.5 for .lead font-size fixes twbs#4869: typo in getting started fixes twbs#4901: attribute typo and reran make fixes twbs#4896: reflect media query order in docs fixes twbs#4824: scope table grid sizes to .table instead of table ...
* master: (102 commits) last rebuild before 2.1.1 release regrettably remove the animated button for download on homepage to improve page performance in some browsers fixes twbs#4968 manually: typo in scaffolding docs about offset classes improve comments in image styles fixes twbs#4958: add version to minified js fixes twbs#4885: correct use of skew in .skew() mixin for FF fixes twbs#4957: use input border var for select element instead of #ddd fixes twbs#4959: docs example fixes twbs#4935: properly comment responsive image techniques and add CSS tests to support fixes twbs#4146: IE7-8 responsive image helper add comment to go with updated box-shadow mixin fixes twbs#4909: add color utility classes .text-warning, etc and document them fixes twbs#4925: ensure docs examples don't use fixed font-size and line-height for .lead fixes twbs#4922: use basefontsize for realz on .lead fixes twbs#4902: proper accordion html example fixes twbs#4910: use @baseLineHeight * 1.5 for .lead font-size fixes twbs#4869: typo in getting started fixes twbs#4901: attribute typo and reran make fixes twbs#4896: reflect media query order in docs fixes twbs#4824: scope table grid sizes to .table instead of table ...
Took me many hours to figure out what was going on here when using isotope JS, as it relies on the browser image sizing to properly position elements. I think this CSS rule does more damage than good and should be removed. |
👍
|
I ran into the same issue. Even setting The page reflow is kind of annoying especially if multiple images are waiting to load. |
This bug also repeats in 3.0.0 |
this bug find in 2.3.1 in FF / IE / Chrome |
Related: #4471 |
…and add CSS tests to support
…and add CSS tests to support
This issue is back with Chrome version 74 |
the image height bug previously fixed in 2.0.3 (issue #1899 and #2779) is back in 2.1.0
The text was updated successfully, but these errors were encountered: