Skip to content

Commit 0f1a0e1

Browse files
committed
fixed style, focus outline none at container
1 parent e7a03da commit 0f1a0e1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/VueFinalModal.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<div
3434
v-show="visibility.modal"
3535
ref="vfmContainer"
36-
class="vfm__container vfm--absolute vfm--inset"
36+
class="vfm__container vfm--absolute vfm--inset vfm--outline-none"
3737
:class="[classes, { 'vfm--cursor-pointer': clickToClose }]"
3838
:aria-expanded="visibility.modal.toString()"
3939
role="dialog"
@@ -314,6 +314,9 @@ export default {
314314
.vfm--cursor-auto {
315315
cursor: auto;
316316
}
317+
.vfm--outline-none:focus {
318+
outline: none;
319+
}
317320
.vfm-enter-active,
318321
.vfm-leave-active {
319322
transition: opacity 0.2s;

0 commit comments

Comments
 (0)