Close zoomed image when clicking the parent div instead of image

Makes it easier to close on mobile
This commit is contained in:
Kristan Schlikow
2024-04-14 17:12:26 +02:00
parent 835d6c71fa
commit 928fa7a3fc
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -28,7 +28,6 @@
z-index: 30;
overflow: hidden;
right: 0;
top: 50px;
aspect-ratio: 2 / 3;
width: fit-content;
max-height: calc(60vh - 60px);
@@ -373,7 +372,6 @@
overflow: hidden;
display: none;
right: 0;
top: 50px;
aspect-ratio: 2 / 3;
left: 50%;
transform: translateX(-50%);