From ca01d34268be7f146cfa44f2c067b00e840d8198 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Tue, 9 Apr 2024 21:17:20 +0200 Subject: [PATCH] Make galleries responsive --- templates/shortcodes/gallery.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/shortcodes/gallery.html b/templates/shortcodes/gallery.html index 529e7d79..1ad3082b 100644 --- a/templates/shortcodes/gallery.html +++ b/templates/shortcodes/gallery.html @@ -1,7 +1,7 @@ <section class="section gallery"> - <div class="columns is-multiline is-same-height is-centered is-mobile"> + <div class="columns is-multiline is-same-height is-centered"> {% for picture in page.extra.gallery[name] %} - <div class="column is-one-third is-half-mobile"> + <div class="column is-one-third"> <a href="#"> <figure class="image is-4by3"> {% set image = resize_image(path="@/" ~ page.colocated_path ~ "/" ~ picture.image, width=800, height=600) -%} -- GitLab