Skip to content

Commit

Permalink
еще попытка пофиксить слайдер на планшете
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcom committed Jan 7, 2025
1 parent 0ecc738 commit f73be26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/tags/imageslider.tag
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<%-- width продублирован Pale Moon и других для браузеров, не умеющих min() --%>
<div class="slider-parent" style="width: var(--image-width); width: min(var(--image-width), calc(${heightLimitValue} * ${main.mediumInfo.width} / ${main.mediumInfo.height}))">
<div class="swiffy-slider slider-indicators-round ${classes} slider-item-ratio slider-item-ratio-contain"
style="--swiffy-slider-item-ratio: ${main.mediumInfo.width}/${main.mediumInfo.height}" data-slider-nav-autoplay-interval="5000">
style="--swiffy-slider-item-ratio: ${main.fullInfo.width}/${main.fullInfo.height}" data-slider-nav-autoplay-interval="5000">
<div class="slider-container">
<a href="${main.fullName}">
<img
Expand Down
3 changes: 2 additions & 1 deletion src/main/webapp/WEB-INF/tags/news.tag
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@
</c:if>
<c:if test="${not empty preparedMessage.additionalImages}">
<lor:imageslider main="${preparedMessage.image}" title="${preparedMessage.message.title}"
classes="slider-nav-autohide" additional="${preparedMessage.additionalImages}" heightLimit="50vh"/>
classes="slider-nav-autohide slider-indicators-sm" additional="${preparedMessage.additionalImages}"
heightLimit="50vh"/>
</c:if>


Expand Down

0 comments on commit f73be26

Please sign in to comment.