summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/modalImage/modal.css8
1 files changed, 6 insertions, 2 deletions
diff --git a/client/modalImage/modal.css b/client/modalImage/modal.css
index cf8f331d..d628cc48 100644
--- a/client/modalImage/modal.css
+++ b/client/modalImage/modal.css
@@ -14,7 +14,7 @@
.modal.visible {
opacity: 1;
pointer-events: auto;
- z-index: 999999999;
+ z-index: 9999999;
}
.modal .inner {
position: absolute;
@@ -68,6 +68,7 @@
align-items: center;
cursor: pointer;
transition: all 0.1s cubic-bezier(0,0,0,1);
+ z-index: 99999999;
}
.modal .prev {
left: 0;
@@ -113,5 +114,8 @@
}
@media all and (max-device-width: 1024px) {
-
+ .modal img {
+ max-width: 100vw;
+ max-height: 90vh;
+ }
} \ No newline at end of file