Skip to content

Commit 5e57f49

Browse files
authored
fix: opacity is 0 in maskstyle looks not good (#131)
1 parent 1939cd0 commit 5e57f49

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

assets/index.less

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,7 @@
200200
&-mask {
201201
opacity: .3;
202202
height: 100%;
203-
animation: rcDrawerFadeIn 0.3s @ease-in-out-circ;
204-
transition: none;
203+
transition: opacity 0.3s @ease-in-out-circ;
205204
}
206205
&-handle {
207206
&-icon {
@@ -217,12 +216,3 @@
217216
}
218217
}
219218
}
220-
221-
@keyframes rcDrawerFadeIn {
222-
0% {
223-
opacity: 0;
224-
}
225-
100% {
226-
opacity: 0.3;
227-
}
228-
}

0 commit comments

Comments
 (0)