* image display size fix

This commit is contained in:
Danyi Dávid 2018-07-09 17:10:29 +02:00
parent 182376f97d
commit 5e1b402681

View File

@ -10,22 +10,19 @@
-webkit-transition: opacity 150ms ease-in;
-moz-transition: opacity 150ms ease-in;
transition: opacity 150ms ease-in;
height: 100%;
width: 100%;
padding: 15px;
overflow: hidden;
}
.modal-padding {
overflow: hidden;
max-height: calc(100% - 30px);
max-width: calc(100% - 30px);
height: 100%;
width: 100%;
}
.modal-container .image {
display: block;
margin-left: auto;
margin-right: auto;
max-height: calc(100% - 30px);
width: auto;
max-height: 100%;
max-width: 100%;
}