From 1897bd4b26ae9873a5a8d6686c2c790347844db9 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Tue, 6 Jun 2023 08:53:35 +0200 Subject: [PATCH] Cart: make single-select checkbox look like a button --- .../event/fragment_addon_choice.html | 10 ++++++---- .../event/fragment_product_list.html | 10 ++++++---- .../templates/pretixpresale/event/voucher.html | 10 ++++++---- src/pretix/static/pretixpresale/js/ui/main.js | 6 ++++++ src/pretix/static/pretixpresale/scss/_event.scss | 4 ---- src/pretix/static/pretixpresale/scss/_forms.scss | 16 ++++++++++++++++ 6 files changed, 40 insertions(+), 16 deletions(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/fragment_addon_choice.html b/src/pretix/presale/templates/pretixpresale/event/fragment_addon_choice.html index 775730955f..8a0b2ed9a1 100644 --- a/src/pretix/presale/templates/pretixpresale/event/fragment_addon_choice.html +++ b/src/pretix/presale/templates/pretixpresale/event/fragment_addon_choice.html @@ -177,7 +177,7 @@ {% if var.cached_availability.0 == 100 or var.initial %}
{% if c.max_count == 1 or not c.multi_allowed %} -