diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html b/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html
index 84d128b6e4..2c458049a6 100644
--- a/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html
+++ b/src/pretix/presale/templates/pretixpresale/event/fragment_cart.html
@@ -5,7 +5,7 @@
{% load money %}
{% blocktrans asvar s_taxes %}taxes{% endblocktrans %}
{% for line in cart.positions %}
-
+
{% if line.addon_to %}
+
@@ -217,22 +217,6 @@
{% endif %}
{% endif %}
- {% if download %}
-
- {% if line.generate_ticket %}
- {% for b in download_buttons %}
-
- {% endfor %}
- {% endif %}
-
- {% endif %}
{% endfor %}
diff --git a/src/pretix/static/pretixpresale/scss/_cart.scss b/src/pretix/static/pretixpresale/scss/_cart.scss
index e8631ad56f..f0a2e4a038 100644
--- a/src/pretix/static/pretixpresale/scss/_cart.scss
+++ b/src/pretix/static/pretixpresale/scss/_cart.scss
@@ -37,11 +37,6 @@
padding-right: floor(($grid-gutter-width / 2));
float: left;
}
- .download-mobile {
- display: none;
- width: 100%;
- clear: both;
- }
.download-desktop {
display: block;
width: percentage((4 / $grid-columns));
@@ -80,18 +75,60 @@
}
@media(max-width: $screen-sm-max) {
- .cart-row {
- .download-mobile {
+ .cart .panel-body {
+ padding: 5px;
+ .checkout-button-row {
+ padding: 0 10px;
+ }
+ #cart-deadline {
display: block;
+ padding: 0 10px 5px;
}
+ }
+ .cart-row {
.download-desktop {
- display: none;
+ clear: both;
+ display: block;
+ width: 50%;
+ text-align: left;
+ a.btn, button.btn {
+ word-break: break-all;
+ display: block;
+ width: 100%;
+ margin-bottom: 5px;
+ }
}
- &.has-downloads .product, .product, .count, .singleprice, .totalprice {
+
+ .totalprice {
width: 50%;
}
- .singleprice {
+ .product, &.has-downloads .product {
+ width: 100%;
+ }
+ &.total .product {
+ width: 50%;
+ }
+ .count {
clear: both;
+ width: 25%;
+ text-align: left;
+ }
+ .singleprice {
+ width: 25%;
+ }
+
+ &.editable {
+ .count {
+ width: 50%;
+ text-align: right;
+ }
+ .singleprice {
+ clear: both;
+ width: 50%;
+ }
+ .totalprice {
+ width: 50%;
+ }
}
}
}
diff --git a/src/pretix/static/pretixpresale/scss/_forms.scss b/src/pretix/static/pretixpresale/scss/_forms.scss
index 0feb77c207..52afe098a3 100644
--- a/src/pretix/static/pretixpresale/scss/_forms.scss
+++ b/src/pretix/static/pretixpresale/scss/_forms.scss
@@ -1,3 +1,8 @@
+a.btn, button.btn {
+ max-width: 100%;
+ white-space: normal;
+}
+
.panel-title .radio {
margin-left: 20px;
}