From ec2b53955d1b64b6e8883d6b465129e235d02319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Andr=C3=A9?= Date: Wed, 7 Apr 2021 10:24:41 +0200 Subject: [PATCH] =?UTF-8?q?Zoom=20correct=20des=20images=20upload=C3=A9es?= =?UTF-8?q?=20dans=20le=20profil=20utilisateur.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../list-of-images.component.css | 67 ++++++++++--------- .../list-of-images.component.html | 6 +- 2 files changed, 38 insertions(+), 35 deletions(-) diff --git a/Front/skydivelogs-app/src/app/list-of-images/list-of-images.component.css b/Front/skydivelogs-app/src/app/list-of-images/list-of-images.component.css index 7f32ee1..3699120 100644 --- a/Front/skydivelogs-app/src/app/list-of-images/list-of-images.component.css +++ b/Front/skydivelogs-app/src/app/list-of-images/list-of-images.component.css @@ -1,33 +1,36 @@ -.slide-modal { - display: none; - position: fixed; - z-index: 1; - padding-top: 10px; - left: 0; - top: 0; - width: 100%; - height: 100%; - overflow: auto; - background-color: #000000; - } - - .slide-modal-content { - /* position: relative; */ - margin: auto; - padding: 0; - width: 100%; - max-width: 1200px; - } +.imgmodal { + display: none; + position: fixed; + z-index: 1000; + padding-top: 10px; + left: 0; + top: 0; + width: 100%; + height: 100%; + overflow: auto; + background-color: #000000; +} - .close { - color: white; - position: absolute; - top: 10px; - right: 25px; - font-size: 35px; - font-weight: bold; - } - - .cursor { - cursor: pointer; - } \ No newline at end of file +.imgbox { + display: grid; + height: 100%; +} + +.center-fit { + max-width: 100%; + max-height: 100vh; + margin: auto; +} + +.close { + color: white; + position: absolute; + top: 10px; + right: 25px; + font-size: 35px; + font-weight: bold; +} + +.cursor { + cursor: pointer; +} \ No newline at end of file diff --git a/Front/skydivelogs-app/src/app/list-of-images/list-of-images.component.html b/Front/skydivelogs-app/src/app/list-of-images/list-of-images.component.html index 1780251..8cd4899 100644 --- a/Front/skydivelogs-app/src/app/list-of-images/list-of-images.component.html +++ b/Front/skydivelogs-app/src/app/list-of-images/list-of-images.component.html @@ -40,9 +40,9 @@ -
+
× -
- +
+