Skip to content
Permalink
Browse files

Modal: fix overflowing height and centering on Safari (#592)

Essentially reverts #582, but changes the align-items to align-content as a way of getting the centering to work on Safari.
  • Loading branch information...
sohkai authored and bpierre committed Sep 10, 2019
1 parent c898897 commit d440f0a635c07583d0179745060d0fe3a3917927
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/components/Modal/Modal.js
@@ -56,8 +56,8 @@ function Modal({
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
display: grid;
align-content: center;
justify-content: center;
overflow: auto;
`}

0 comments on commit d440f0a

Please sign in to comment.
You can’t perform that action at this time.