prevent user select

This commit is contained in:
2023-03-29 18:29:01 +10:00
parent fbaef5392f
commit 24c3a1ef30

View File

@@ -322,12 +322,16 @@ const hideNextArrow = computed(() => {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
pointer-events: none; /* Add this line */ pointer-events: none;
z-index: 1000; z-index: 1000;
} }
.sm-image-gallery-modal * { .sm-image-gallery-modal * {
pointer-events: auto; /* Add this line */ pointer-events: auto;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
} }
.sm-image-gallery-modal-image { .sm-image-gallery-modal-image {