From 1ef22375ec5c67982990d18a52de5932f9a87873 Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Mon, 4 Oct 2021 10:53:27 +0200 Subject: [PATCH] stick add-to-basket button to the bottom --- src/pretix/static/pretixpresale/scss/_event.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/pretix/static/pretixpresale/scss/_event.scss b/src/pretix/static/pretixpresale/scss/_event.scss index 802e352e47..d3a2f70ba8 100644 --- a/src/pretix/static/pretixpresale/scss/_event.scss +++ b/src/pretix/static/pretixpresale/scss/_event.scss @@ -172,6 +172,12 @@ article.item-with-variations:last-child, .product-row:last-child { } section.front-page { margin-top: 30px; + position: sticky; + bottom: 0; + top: 100px; + padding: 10px 0; + background: rgba(255,255,255,.8); + z-index: 10; } .offline-banner { background: $brand-danger;