summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-05-27 18:28:34 +0200
committerJules Laplace <julescarbon@gmail.com>2019-05-27 18:28:34 +0200
commit46689df750e0fe126abf95c992d9f8440fdf6253 (patch)
tree65729079f3036366a2575bb1a6adfbd24d4281e3 /client
parentd9835597f33aa7570f96073cc034539159e99d37 (diff)
fix modal image css
Diffstat (limited to 'client')
-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