Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.

Commit

Permalink
Fix modals not having a proper z-index in Mobile Safari, fixes #190
Browse files Browse the repository at this point in the history
  • Loading branch information
gakimball committed May 1, 2015
1 parent c3e3dcf commit 120f5df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scss/components/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ $modal-overlay-background: rgba(#333, 0.7) !default;
align-items: center;
justify-content: center;

// Prevent z-index issue in Mobile Safari
-webkit-transform: translate3d(0,0,0);

&.is-active {
display: flex;
}
Expand Down

0 comments on commit 120f5df

Please sign in to comment.