diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_product_list.html b/src/pretix/presale/templates/pretixpresale/event/fragment_product_list.html index 399cdac693..17cbab4e71 100644 --- a/src/pretix/presale/templates/pretixpresale/event/fragment_product_list.html +++ b/src/pretix/presale/templates/pretixpresale/event/fragment_product_list.html @@ -7,7 +7,7 @@ {% load rich_text %} {% for tup in items_by_category %}{% with category=tup.0 items=tup.1 form_prefix=tup.2 %} {% if category %} -
+
{{ category.name }} {% if category.subevent_name %} {{ category.subevent_name }} @@ -24,7 +24,7 @@
{{ category.description|localize|rich_text }}
{% endif %} {% else %} -
+
{% trans "Uncategorized items" %} {% endif %} {% for item in items %} diff --git a/src/pretix/static/pretixpresale/scss/_theme.scss b/src/pretix/static/pretixpresale/scss/_theme.scss index bb54619c32..83556b0a11 100644 --- a/src/pretix/static/pretixpresale/scss/_theme.scss +++ b/src/pretix/static/pretixpresale/scss/_theme.scss @@ -1,10 +1,18 @@ h1, .h1, h2, .h2, h3, .h3 { - margin-top: 2.25 * $line-height-computed; + margin-top: 0.75 * $line-height-computed; margin-bottom: 0.75 * $line-height-computed; } +.front-page, .item-category { + h1, .h1, + h2, .h2, + h3, .h3 { + margin-top: 2.25 * $line-height-computed; + } +} + .page-header { position: relative; padding-bottom: 9px;