From 36e0afc09e46012a00d53611f532e9fec00ba2c7 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 8 Apr 2019 17:42:06 +0200 Subject: [PATCH] Further improvements to the print stylesheet --- .../presale/templates/pretixpresale/event/order.html | 4 ++-- src/pretix/static/pretixpresale/scss/_print.scss | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/order.html b/src/pretix/presale/templates/pretixpresale/event/order.html index 7c7bdb80d2..ef6f76f955 100644 --- a/src/pretix/presale/templates/pretixpresale/event/order.html +++ b/src/pretix/presale/templates/pretixpresale/event/order.html @@ -113,7 +113,7 @@ {% endblocktrans %} {% if cart.positions|length > 1 and can_download_multi %} -

+

{% trans "Download all tickets at once:" %} {% for b in download_buttons %} {% if b.multi %} @@ -131,7 +131,7 @@ {% endif %} {% elif not download_buttons and ticket_download_date %} {% if order.status == 'p' %} -

+
{% blocktrans trimmed with date=ticket_download_date|date:"SHORT_DATE_FORMAT" %} You will be able to download your tickets here starting on {{ date }}. {% endblocktrans %} diff --git a/src/pretix/static/pretixpresale/scss/_print.scss b/src/pretix/static/pretixpresale/scss/_print.scss index db837e5c2d..46a206bc91 100644 --- a/src/pretix/static/pretixpresale/scss/_print.scss +++ b/src/pretix/static/pretixpresale/scss/_print.scss @@ -26,7 +26,7 @@ width: 50%; } .cart-row.has-downloads .product { - width: percentage((9 / $grid-columns)); + width: 80%; } .cart-row .count { width: 10%; @@ -42,9 +42,12 @@ display: none; } @media(max-width: $screen-sm-max) { - .cart-row.has-downloads .product { + .cart-row .product { width: 50%; } + .cart-row.has-downloads .product { + width: 80%; + } } @media (min-width: $screen-sm-min) { .dl-horizontal dt { @@ -59,4 +62,4 @@ @include make-grid(md); @include make-grid(lg); } -} \ No newline at end of file +}