File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 5
5
position : fixed ;
6
6
top : 0 ;
7
7
z-index : 9999 ;
8
+ transition : width 0s ease @duration , height 0s ease @duration , transform @duration @ease-in-out-circ ;
8
9
>* {
9
10
transition : transform @duration @ease-in-out-circ , opacity @duration @ease-in-out-circ , box- shadow @duration @ease-in-out-circ ;
10
11
}
12
+ & .@{drawer} -open {
13
+ transition : transform @duration @ease-in-out-circ ;
14
+ }
11
15
& &-mask {
12
16
background : #000 ;
13
17
opacity : 0 ;
116
120
box-shadow : -2px 0 8px rgba (0 , 0 , 0 , .15 );
117
121
}
118
122
}
123
+ & .no-mask {
124
+ // https://github.com/ant-design/ant-design/issues/18607
125
+ right : 1px ;
126
+ transform : translateX (1px );
127
+ }
119
128
}
120
129
}
121
130
&-top ,
179
188
box-shadow : 0 -2px 8px rgba (0 , 0 , 0 , .15 );
180
189
}
181
190
}
191
+ & .no-mask {
192
+ // https://github.com/ant-design/ant-design/issues/18607
193
+ bottom : 1px ;
194
+ transform : translateY (1px );
195
+ }
182
196
}
183
197
}
184
198
& .@{drawer} -open {
You can’t perform that action at this time.
0 commit comments