Skip to content

Commit

Permalink
fix: zindex 规范化
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczj committed Aug 15, 2018
1 parent 54d55bd commit 739f72f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/switch/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
left: 0;
right: 0;
bottom: 0;
z-index: 200;
z-index: $zindex-form;
}

&--disabled {
Expand Down
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-form: 700;
$zindex-nav: 800;
$zindex-drawer: 900;
$zindex-modal: 1000;
Expand Down

0 comments on commit 739f72f

Please sign in to comment.