File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ const NZ_DEFAULT_ROTATE = 0;
104
104
(click)="maskClosable && $event.target === $event.currentTarget && onClose()"
105
105
>
106
106
<div class="ant-image-preview" role="dialog" aria-modal="true">
107
- <div tabindex="0" aria-hidden="true" style="width: 0; height: 0; overflow: hidden; outline: none; "></div>
107
+ <div tabindex="0" aria-hidden="true" class="ant-image-preview-focus-trap "></div>
108
108
<div class="ant-image-preview-content">
109
109
<div class="ant-image-preview-body">
110
110
<div
@@ -133,7 +133,7 @@ const NZ_DEFAULT_ROTATE = 0;
133
133
</div>
134
134
</div>
135
135
</div>
136
- <div tabindex="0" aria-hidden="true" style="width: 0; height: 0; overflow: hidden; outline: none; "></div>
136
+ <div tabindex="0" aria-hidden="true" class="ant-image-preview-focus-trap "></div>
137
137
</div>
138
138
</div>
139
139
` ,
Original file line number Diff line number Diff line change 199
199
&-switch-right {
200
200
right : 8px ;
201
201
}
202
+
203
+ &-focus-trap {
204
+ width : 0 ;
205
+ height : 0 ;
206
+ overflow : hidden ;
207
+ outline : none ;
208
+ }
202
209
}
203
210
}
You can’t perform that action at this time.
0 commit comments