mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Add spacing around banners
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user