Skip to content

Commit

Permalink
Merge pull request #53 from mxdi9i7/will/fixpopup
Browse files Browse the repository at this point in the history
fixed popup issue
  • Loading branch information
mxdi9i7 authored Jun 18, 2020
2 parents 048e1fd + 4b47eb0 commit c1199c4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/Popup/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ $baseContentClass: 'vant-popup__content';

.#{$baseContainerClass} {
visibility: hidden;
position: absolute;
position: fixed;
top: 0;
left: 0;
height: 100vh;
width: 100vw;
z-index: 10;
Expand Down Expand Up @@ -43,6 +45,10 @@ $baseContentClass: 'vant-popup__content';
.closeIcon {
position: absolute;
z-index: 2;

i {
cursor: pointer;
}
}
}

Expand Down

0 comments on commit c1199c4

Please sign in to comment.