* image display size fix
This commit is contained in:
parent
182376f97d
commit
5e1b402681
@ -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%;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user