Skip to content

Commit

Permalink
Improve site image carousel (#3641)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimasciput authored Dec 19, 2023
1 parent a095ef7 commit 7f5235a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bims/templates/includes/site_image_carousel.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
{% else %}
<div class="carousel-item" style="height: auto">
{% endif %}
<div class="carousel-item-content"
style="align-items: center; display: flex; flex-direction: column">
<div class="carousel-item-content d-flex align-items-center justify-content-center"
style="min-height: 450px; align-items: center;">
<div class="site-image"
style="height: auto;">
{% if image.image|is_portrait %}
{% thumbnail image.image "x500" crop="center" as thumb %}
{% thumbnail image.image "x450" crop="center" as thumb %}
<a href="/uploaded/{{ image.image }}"
target="_blank"><img src="{{ thumb.url }}"
height="{{ thumb.height }}"
Expand Down

0 comments on commit 7f5235a

Please sign in to comment.