From 924dbd3043558599884c371e0af33b01889bee27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org> Date: Tue, 28 Feb 2023 08:38:58 +0100 Subject: [PATCH] update hoaxes for richtext, move to left & content grid area --- main/templates/main/main_hoax_page.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/main/templates/main/main_hoax_page.html b/main/templates/main/main_hoax_page.html index 80611ccf..6bfac594 100644 --- a/main/templates/main/main_hoax_page.html +++ b/main/templates/main/main_hoax_page.html @@ -4,13 +4,17 @@ {% block content %} {% include 'main/includes/layout/simple_page_header.html' %} <main role="main" class="mb-10 xl:mb-32 __js-root"> - <div class="grid-container mb-2 lg:mb-12"> - <div class="grid-full"> - {% if page.description %} - <div class="prose max-w-none mb-10"> - {{ page.description }} + {% if page.description %} + <div class="grid-container mb-2 lg:mb-12"> + <div class="grid-content"> + <div class="prose max-w-none font-condensed text-xl text-black leading-7 mb-12 program-perex"> + {{ page.description|richtext }} </div> - {% endif %} + </div> + </div> + {% endif %} + <div class="grid-container mb-2 lg:mb-12"> + <div class="grid-left-side-with-content"> {% for block in page.content %} {% include_block block %} {% endfor %} -- GitLab