-
-
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
.img-thumbnail inside .media-left renders differently in Chrome than in Firefox #16120
Comments
Hi @gws! You appear to have posted a live example (http://jsbin.com/nicehopoje/5/edit), which is always a good first step. However, according to Bootlint, your example has some Bootstrap usage errors, which might potentially be causing your issue:
You'll need to fix these errors and post a revised example before we can proceed further. (Please note that this is a fully automated comment.) |
Updated the link in the original post to appease the bot: http://jsbin.com/lunohawexo/2 |
Desktop Safari 8.0.4 matches Chrome's rendering. |
CC: @mdo |
Chrome doesn't like max-width in table-cell. Working on something along the lines of
in scaffolding.less |
When applying
.img-responsive
or.img-thumbnail
(possibly others) to a.media-object
inside.media-left
, the media object gets "crushed" horizontally by the.media-body
even with an explicit width (and height) set, but just in Chrome - the expected rendering occurs in Firefox. I haven't tested extensively with other browsers.Firefox: 36.0.1
Chrome: 41.0.2272.76
I've got a minimal example of the behavior:
http://jsbin.com/lunohawexo/2
In the example, the first
div.media
exhibits the problem in Chrome, and the seconddiv.media
does not. Both appear as I expect in Firefox.At this point I'm not sure if I'm doing something wrong, if this is an issue with Bootstrap's CSS, or a browser bug. I'm hoping somebody more knowledgeable can point me in the right direction.
Thanks!
The text was updated successfully, but these errors were encountered: