Skip to content

fix(UncontrolledCarousel): add bootstrap classes to img to make it re…#934

Merged
TheSharpieOne merged 1 commit into
reactstrap:masterfrom
Greg-Rose:uncontrolled-carousel-img-fix
Mar 28, 2018
Merged

fix(UncontrolledCarousel): add bootstrap classes to img to make it re…#934
TheSharpieOne merged 1 commit into
reactstrap:masterfrom
Greg-Rose:uncontrolled-carousel-img-fix

Conversation

@Greg-Rose

Copy link
Copy Markdown
Contributor

…sponsive

Carousel images should have classes "d-block" and "w-100" to make them responsive as shown in the bootstrap documentation. You can add them yourself when using the normal Carousel component because you create your own img elements but you can't do that for the UncontrolledCarousel component. This PR adds the classes to the img element so it is properly responsive.

@TheSharpieOne TheSharpieOne merged commit 9f7b741 into reactstrap:master Mar 28, 2018
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.

2 participants