Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-10700 - Updating image preview modal #1380

Merged
merged 5 commits into from
Jun 28, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
MM-10700 - Updating modal preview css
  • Loading branch information
asaadmahmood committed Jun 27, 2018
commit 595fb0066ce4f1a079e449d474b9d7be9162b120
8 changes: 4 additions & 4 deletions sass/components/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@
}

.modal-image__content {
max-height: 85vh;
max-width: 90vw;
max-height: 95vh;
max-width: 95vw;
overflow-x: hidden;
overflow-y: visible;
}
Expand Down Expand Up @@ -406,7 +406,7 @@
}

img {
max-height: calc(100vh - 200px);
max-height: calc(100vh - 150px);
max-width: 100%;
}

Expand Down Expand Up @@ -484,7 +484,7 @@
bottom: -40px;
left: 0;
line-height: 40px;
max-width: 90vw;
max-width: 100%;
padding: 0 10px;
position: absolute;
right: 0;
Expand Down