Skip to content

Commit 82080aa

Browse files
committed
fix: change z-index to style variable (#412)
1 parent 513d10a commit 82080aa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/style/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
margin-top: 1px;
106106
margin-bottom: 1px;
107107
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
108-
z-index: 2001;
108+
z-index: $popup-z-index;
109109
}
110110

111111
.#{$namespace}-datepicker-sidebar {

src/style/var.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ $primary-color: #1284e7 !default;
55

66
$today-color: mix(#fff, $primary-color, 10%) !default;
77

8+
$popup-z-index: 2001 !default;
9+
810
$input-border-color: #ccc !default;
911
$input-color: #555 !default;
1012
$input-hover-border-color: #409aff !default;

0 commit comments

Comments
 (0)