From bea87185d14b317d61c11b17188d50a3676a3fe2 Mon Sep 17 00:00:00 2001 From: Sweetbread Date: Mon, 6 Oct 2025 22:57:39 +0300 Subject: [PATCH] fixup! Scroll wallets QR --- templates/personal/risdeveau/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/personal/risdeveau/index.html b/templates/personal/risdeveau/index.html index c5a3c20..b6ce227 100644 --- a/templates/personal/risdeveau/index.html +++ b/templates/personal/risdeveau/index.html @@ -17,12 +17,15 @@ margin-block-end: 0; } - {% if g.is_mobile %} - .qr img { width: 100%; } + .qr img { + width: 100%; + max-width: 13.66rem; + } .blocks.qr { flex-wrap: nowrap; overflow-x: auto; width: calc(100vw - 1rem); + max-width: 45rem; scroll-behavior: smooth; scroll-snap-type: x mandatory; } @@ -34,9 +37,6 @@ scroll-snap-align: start; max-width: 16rem; } - {% else %} - .qr img { width: 13.66rem; /* (x + 1) * 3 + 1 = 45 */ } - {% endif %} .qr p { text-align: center;