Improve layout on small screens

This commit is contained in:
nemunaire 2024-01-11 17:13:14 +01:00
commit 268be00289
3 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{{ if isset .Site.Params "carousel" }}
{{ if gt (len .Site.Params.carousel) 0 }}
<div class="carousel text-light p-4 pt-5 d-flex flex-nowrap" style="gap: 1em 1em; overflow-x: scroll">
<div class="carousel text-light p-4 pt-5 d-flex flex-nowrap align-items-center" style="gap: 1em 1em; overflow-x: scroll">
{{ range sort .Site.Params.carousel "weight" }}
<figure class="" style="min-width: 40vw">
<a href="{{ .image }}">