Skip to content

Commit

Permalink
Fix image clipping
Browse files Browse the repository at this point in the history
  • Loading branch information
yfram committed Nov 25, 2022
1 parent 36030c3 commit 7c78997
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Elements/ImageSlideshow.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ const ImageSlideshow = () => {
<Slider autoplay={3000}>
{slides.map((slide, index) => <div key={index}>
<img style={{
height: "200%",
marginLeft: "auto",
marginRight: "auto",
display: "block",
width: "100%",
height: "100%",
objectFit: "contain",
}} src={slide.imageSource} />
</div>)}
</Slider>
Expand Down

0 comments on commit 7c78997

Please sign in to comment.