From ebf755b1eb218522ddf1c3a41bc30604e3643a84 Mon Sep 17 00:00:00 2001
From: Darius Auding <Darius.auding@gmx.de>
Date: Sun, 7 Apr 2024 09:50:11 +0200
Subject: [PATCH] fix right aligned images

---
 templates/shortcodes/photo_section.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/shortcodes/photo_section.html b/templates/shortcodes/photo_section.html
index 2e853858..f5f1b43f 100644
--- a/templates/shortcodes/photo_section.html
+++ b/templates/shortcodes/photo_section.html
@@ -1,8 +1,8 @@
 <section class="section">
   <div class="container">
     {% if title %}<h2 class="title is-2">{{ title }}</h2>{% endif %}
-    <div class="columns is-vcentered mt-4">
-      <div class="column is-one-third {% if align|default(value="left") == "right" %}is-pulled-right{% endif %}">
+    <div class="columns is-vcentered mt-4 {% if align|default(value="left") == "right" %}is-flex-direction-row-reverse{% endif %}">
+      <div class="column is-one-third">
         <figure class="image is-4by3">
           {% set image = resize_image(path="@/" ~ page.colocated_path ~ "/" ~ img, width=800, height=600) -%}
           <img src="{{image.url}}" alt="{{ alt }}"/>
-- 
GitLab