From 536b285da68d321024ca992d5833ce1a2e648902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bedna=C5=99=C3=ADk?= <jan.bednarik@gmail.com> Date: Fri, 16 Jul 2021 14:56:35 +0200 Subject: [PATCH] elections2021: Program point FAQ styles --- elections2021/templates/elections2021/_question_block.html | 4 ++-- elections2021/templates/elections2021/base.html | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/elections2021/templates/elections2021/_question_block.html b/elections2021/templates/elections2021/_question_block.html index 78783cf7..14f0596f 100644 --- a/elections2021/templates/elections2021/_question_block.html +++ b/elections2021/templates/elections2021/_question_block.html @@ -5,8 +5,8 @@ <i class="ico--chevron-down"></i> </div> <div class="accordeon-row-body accordeon-row-body--classic"> - <div> - <p>{{ block.value.answer|richtext|format_sources }}</p> + <div class="content-block accordeon-lists"> + {{ block.value.answer|richtext|format_sources }} </div> </div> </div> diff --git a/elections2021/templates/elections2021/base.html b/elections2021/templates/elections2021/base.html index 46a3cb4d..e54ba6a4 100644 --- a/elections2021/templates/elections2021/base.html +++ b/elections2021/templates/elections2021/base.html @@ -32,6 +32,10 @@ padding-top: 0.6rem; padding-bottom: 0.6rem; } + .accordeon-lists li { + list-style-type: square !important; + list-style-position: inside; + } </style> {% if page.root_page.matomo_id %} -- GitLab