mirror of
https://github.com/openvk/openvk
synced 2024-11-13 10:39:24 +03:00
fix(ImageBox): fix next/prev image navigation
height: 100% only works if parent position is not static, without this property image navigation "buttons" were too long and were covering important butt*ns
This commit is contained in:
parent
64827402ee
commit
c863e07908
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ function OpenMiniature(e, photo, post, photo_id, type = "post") {
|
|||
<a id="ovk-photo-close">${tr("close")}</a>
|
||||
</div>
|
||||
</div>
|
||||
<center style="margin-bottom: 8pt;">
|
||||
<center style="margin-bottom: 8pt; position: relative;">
|
||||
<div class="ovk-photo-slide-left"></div>
|
||||
<div class="ovk-photo-slide-right"></div>
|
||||
<img src="${photo}" style="max-width: 100%; max-height: 60vh; user-select:none;" id="ovk-photo-img">
|
||||
|
|
Loading…
Reference in a new issue