change expanded image divs size to be proportional to screen height

master
Aevann1 2022-09-01 21:17:38 +02:00
parent 6f2d2d92b9
commit 259e31de7d
1 changed files with 2 additions and 2 deletions

View File

@ -3,13 +3,13 @@
<div class="modal-content bg-transparent shadow-none">
<div class="modal-body text-center p-0">
<div class="d-inline-block position-relative">
<div style="height:50px" data-bs-dismiss="modal"></div>
<div style="height:10vh" data-bs-dismiss="modal"></div>
<a href="/" rel="nofollow noopener noreferrer" target="_blank" id="desktop-expanded-image-wrap-link">
<img loading="lazy" alt="expanded image" referrerpolicy="no-referrer" src="" class="img-fluid rounded" id="desktop-expanded-image" style="min-width: 250px;min-width: max(250px,50vw)">
</a>
<div style="height:50px" data-bs-dismiss="modal"></div>
<div style="height:50vh" data-bs-dismiss="modal"></div>
</div>
</div>
</div>