Commit e683ad2b by Kim Peace

Fixed to scale to fit on ipad size

parent 0a1e6cd3
......@@ -819,6 +819,14 @@ input[name="tab_item"] {
.modal-body #modal_image {
width: 100%;
height: 100%;
object-fit: contain;
}
.picture-modal {
max-width: 85vw;
max-height: 85vh;
width:100%;
height:100%;
}
.menu_modal .modal-body ul {
......
......@@ -6,8 +6,8 @@
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<div class="picture-modal" style="max-height: 85vh; max-width: 85vw;">
<div class="modal-body" style="height: 85vh!important; max-height: 85vh;">
<div class="picture-modal">
<img src="" id="modal_image">
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment