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 @@ -
+
× -
- +
+