Skip to content

Commit

Permalink
fix(modal): prevent modal from shifting when scrollbar appears (#5119)
Browse files Browse the repository at this point in the history
  • Loading branch information
emyarod authored and joshblack committed Jan 23, 2020
1 parent b30d5f6 commit 1b3fe3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/components/src/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
.#{$prefix}--modal {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: z('modal');
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
content: '';
background-color: transparent;
opacity: 0;
Expand Down

0 comments on commit 1b3fe3a

Please sign in to comment.