From 59670ee3423487d52d7cb0b5ff91937ca4a9eadb Mon Sep 17 00:00:00 2001 From: Darius Auding <Darius.auding@gmx.de> Date: Sat, 5 Aug 2023 15:13:46 +0200 Subject: [PATCH] Add small pading to pages on mobile for readability --- templates/page.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/templates/page.html b/templates/page.html index 68252520..36983fcd 100644 --- a/templates/page.html +++ b/templates/page.html @@ -15,12 +15,14 @@ {% block main %} {% include "pages/heading.html" %} <div class="my-4"> - <div class="content container"> - {% if page.content %} - {{ page.content | safe }} - {% else %} - {% include "baustelle.html" %} - {% endif %} - </div> + <div class="section"> + <div class="content container"> + {% if page.content %} + {{ page.content | safe }} + {% else %} + {% include "baustelle.html" %} + {% endif %} + </div> + </div> </div> {% endblock %} -- GitLab