Commit e683ad2b by Kim Peace

Fixed to scale to fit on ipad size

parent 0a1e6cd3
...@@ -819,6 +819,14 @@ input[name="tab_item"] { ...@@ -819,6 +819,14 @@ input[name="tab_item"] {
.modal-body #modal_image { .modal-body #modal_image {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: contain;
}
.picture-modal {
max-width: 85vw;
max-height: 85vh;
width:100%;
height:100%;
} }
.menu_modal .modal-body ul { .menu_modal .modal-body ul {
......
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<span aria-hidden="true">&times;</span> <span aria-hidden="true">&times;</span>
</button> </button>
</div> </div>
<div class="modal-body"> <div class="modal-body" style="height: 85vh!important; max-height: 85vh;">
<div class="picture-modal" style="max-height: 85vh; max-width: 85vw;"> <div class="picture-modal">
<img src="" id="modal_image"> <img src="" id="modal_image">
</div> </div>
</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