Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
Fix mobile (safari) visual bug
Browse files Browse the repository at this point in the history
The edges of the lightbox were getting cut off due to the
react-modal style settings. For some reason this didn't come
up on desktop browsers.
  • Loading branch information
fritz-c committed Jul 27, 2016
1 parent 7b78a61 commit 3df0567
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/react-image-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,10 @@ class ReactImageLightbox extends Component {
backgroundColor: 'transparent',
border: 'none',
borderRadius: 0,
top: 0,
left: 0,
right: 0,
bottom: 0,
},
};

Expand Down

0 comments on commit 3df0567

Please sign in to comment.