Skip to content

Commit

Permalink
fix(overlay): 修复 toast 遮罩层出现,仍然可以点击底部按钮
Browse files Browse the repository at this point in the history
  • Loading branch information
SzHeJason committed Sep 20, 2018
1 parent b9ab8e7 commit 33cc812
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/style/mixins/libs/overlay.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import "../../theme/default.scss";

/**
* 通用的遮罩
*/
Expand All @@ -7,5 +9,6 @@
width: 100%;
height: 100%;
position: absolute;
z-index: $zindex-overlay;
background-color: rgba($color: #000, $alpha: 0.3);
}
1 change: 1 addition & 0 deletions src/style/theme/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ $icon-size-md: 22px * $hd;
$icon-size-lg: 36px * $hd;

/* z-index */
$zindex-overlay: 600;
$zindex-form: 700;
$zindex-nav: 800;
$zindex-flot-layout: 810;
Expand Down

0 comments on commit 33cc812

Please sign in to comment.