Skip to content

Commit

Permalink
using contain instead of cover
Browse files Browse the repository at this point in the history
  • Loading branch information
kbwatts authored Oct 5, 2016
1 parent 1881945 commit b0e4f84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/simple-carousel/simple-carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@
<iron-swipeable-pages id="ironCarousel" selected="{{slideIndex}}">
<div>
<iron-image style="width:100%; height:320px; background-color: #fff;"
sizing="cover" preload fade src="{{images.image1.value}}" alt="{{images.image1.altTextEn}}"></iron-image>
sizing="contain" preload fade src="{{images.image1.value}}" alt="{{images.image1.altTextEn}}"></iron-image>
</div>
<div>
<iron-image style="width:100%; height:320px; background-color: #fff;"
sizing="cover" preload fade src="{{images.image2.value}}" alt="{{images.image2.altTextEn}}"></iron-image>
sizing="contain" preload fade src="{{images.image2.value}}" alt="{{images.image2.altTextEn}}"></iron-image>
</div>
<div>
<iron-image style="width:100%; height:320px; background-color: #fff;"
sizing="cover" preload fade src="{{images.image3.value}}" alt="{{images.image3.altTextEn}}"></iron-image>
sizing="contain" preload fade src="{{images.image3.value}}" alt="{{images.image3.altTextEn}}"></iron-image>
</div>
</iron-swipeable-pages>

Expand Down

0 comments on commit b0e4f84

Please sign in to comment.