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

Media + Thumbnail #2362

Closed
TrejGun opened this issue Nov 30, 2016 · 4 comments
Closed

Media + Thumbnail #2362

TrejGun opened this issue Nov 30, 2016 · 4 comments

Comments

@TrejGun
Copy link

TrejGun commented Nov 30, 2016

Media + Thumbnail
Media + Image[thumbnail]

These combinations gives image with zero width

https://codepen.io/trejgun/pen/RojMoZ

@TrejGun TrejGun changed the title Media + Image[thumbnail] Media + Thumbnail Nov 30, 2016
@jquense
Copy link
Member

jquense commented Nov 30, 2016

hi there. looks like this is a css issue, which isn't our domain, since we defer to the upstream bootstrap. Seems this combination isn't supported, you can use the style prop to override the styles to make it work if you'd like.

@jquense jquense closed this as completed Nov 30, 2016
@TrejGun
Copy link
Author

TrejGun commented Dec 6, 2016

@jquense , actually this combination works fine

<div class="media">
	<div class="media-left">
		<img src="..." width="100" height="100" class="media-object img-thumbnail">
	</div>
	<div class="media-body">
		<!-- -->		
	</div>
</div>

@jquense
Copy link
Member

jquense commented Dec 6, 2016

that markup is different, specifically the react example doesn't have the media-object class

@TrejGun
Copy link
Author

TrejGun commented Dec 6, 2016

yes, its not in example its in issue tracker

twbs/bootstrap#16120
twbs/bootstrap#16350

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

No branches or pull requests

2 participants