Skip to content

Commit

Permalink
fix(UncontrolledCarousel): add bootstrap classes to img to make it re…
Browse files Browse the repository at this point in the history
…sponsive (#934)
  • Loading branch information
Greg-Rose authored and TheSharpieOne committed Mar 28, 2018
1 parent 4c9b271 commit 9f7b741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UncontrolledCarousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class UncontrolledCarousel extends Component {
onExited={this.onExited}
key={item.src}
>
<img src={item.src} alt={item.altText} />
<img className="d-block w-100" src={item.src} alt={item.altText} />
<CarouselCaption captionText={item.caption} captionHeader={item.caption} />
</CarouselItem>
);
Expand Down

0 comments on commit 9f7b741

Please sign in to comment.