forked from CGM_Public/pretix_original
Add spacing around banners
This commit is contained in:
@@ -114,12 +114,16 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if request.event.settings.banner_text %}
|
{% 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 %}
|
{% endif %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% if request.event.settings.banner_text_bottom %}
|
{% 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 %}
|
{% endif %}
|
||||||
{% if request.event.testmode %}
|
{% if request.event.testmode %}
|
||||||
{% if request.sales_channel.testmode_supported %}
|
{% if request.sales_channel.testmode_supported %}
|
||||||
|
|||||||
@@ -235,3 +235,9 @@ h2.subevent-head {
|
|||||||
font-family: $font-family-monospace;
|
font-family: $font-family-monospace;
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
}
|
}
|
||||||
|
.banner-bottom {
|
||||||
|
padding-top: 15px;
|
||||||
|
}
|
||||||
|
.banner-top {
|
||||||
|
padding-bottom: 15px;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user