Skip to content

Commit

Permalink
fix: prevent image from overflowing top/bottom of slide
Browse files Browse the repository at this point in the history
  • Loading branch information
roadlittledawn committed Jun 22, 2021
1 parent c918ce3 commit a8f18ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ImageSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ const ImageSlider = ({ images, height }) => {
alt={`${item.split('/').slice(-1)}`}
css={css`
width: 100%;
max-height: ${height}px;
box-sizing: border-box;
box-shadow: inset 0px 0px 0px 4px var(--divider-color);
border-radius: 4px;
Expand Down

0 comments on commit a8f18ba

Please sign in to comment.