From 86f038b18e60ff407de66504916c1ca5810882af Mon Sep 17 00:00:00 2001 From: Darius Auding <Darius.auding@gmx.de> Date: Tue, 26 Mar 2024 14:42:50 +0100 Subject: [PATCH] vcenter buttons and put body in left column --- templates/shortcodes/teckids_event.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/shortcodes/teckids_event.html b/templates/shortcodes/teckids_event.html index 08091b86..62571240 100644 --- a/templates/shortcodes/teckids_event.html +++ b/templates/shortcodes/teckids_event.html @@ -4,7 +4,7 @@ <section class="section event-section"> <div class="card event-card"> <div class="card-content"> - <div class="columns"> + <div class="columns is-vcentered"> <div class="column is-two-thirds event-info"> <h3 class="title is-5">{{ event.display_name }}</h3> <p class="subtitle is-6">{{ event.description }}</p> @@ -31,9 +31,14 @@ </div> </div> </div> + {%if body %} + <div class="content"> + {{ body|markdown|safe }} + </div> + {% endif %} </div> <div class="column is-one-third"> - <div class="buttons are-responsive are-medium is-fullheight is-flex is-justify-content-space-between"> + <div class="buttons are-responsive are-medium"> <a class="button is-primary is-fullwidth is-justify-content-start" href="https://ticdesk.teckids.org/app/paweljong/event/{{ slug }}"> <span class="icon"><i class="fa-regular fa-paper-plane"></i></span> @@ -52,11 +57,6 @@ </div> </div> </div> - {%if body %} - <div class="content"> - {{ body|markdown|safe }} - </div> - {% endif %} </div> </div> </section> -- GitLab