Skip to content

Commit 0466c79

Browse files
Fix right-click save image in gallery (firefox) (#588)
1 parent 8b989c6 commit 0466c79

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/sidebar/tabs/queue/ResultGallery.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ img.galleria-image {
9494
max-width: 100vw;
9595
max-height: 100vh;
9696
object-fit: contain;
97+
}
98+
99+
.p-galleria-close-button {
97100
/* Set z-index so the close button doesn't get hidden behind the image when image is large */
98-
z-index: -1;
101+
z-index: 1;
99102
}
100103
</style>

0 commit comments

Comments
 (0)