Add spacing around banners

This commit is contained in:
Raphael Michel
2020-05-26 15:56:30 +02:00
parent e12e7a5dd3
commit 9e93560f7c
2 changed files with 12 additions and 2 deletions

View File

@@ -114,12 +114,16 @@
{% endfor %}
{% endif %}
{% if request.event.settings.banner_text %}
{{ request.event.settings.banner_text|rich_text }}
<div class="banner-top">
{{ request.event.settings.banner_text|rich_text }}
</div>
{% endif %}
{% block content %}
{% endblock %}
{% if request.event.settings.banner_text_bottom %}
{{ request.event.settings.banner_text_bottom|rich_text }}
<div class="banner-bottom">
{{ request.event.settings.banner_text_bottom|rich_text }}
</div>
{% endif %}
{% if request.event.testmode %}
{% if request.sales_channel.testmode_supported %}

View File

@@ -235,3 +235,9 @@ h2.subevent-head {
font-family: $font-family-monospace;
padding: 8px 0;
}
.banner-bottom {
padding-top: 15px;
}
.banner-top {
padding-bottom: 15px;
}