Projector: bigger entry qr tucked into the bottom right corner, a bit smaller while a question is up

This commit is contained in:
2026-11-17 13:13:30 +01:00
parent 553af09df4
commit 7266fe1b47
2 changed files with 7 additions and 4 deletions
+1
View File
@@ -39,6 +39,7 @@ function layout() {
reveal($("#focus"), !!focus);
reveal($("#idle"), !qrOn && !focus);
$(".s-main").classList.toggle("split", qrOn && !!focus);
document.body.classList.toggle("split-on", qrOn && !!focus);
const ring = st.code_style === "ring";
// a vote waiting for presence scans takes the title, even while late arrivals can still enroll
$("#qr-title").textContent = st.presence || !st.enrollment_open ? (ring ? "Visez le cercle pour voter" : "Scannez pour voter") : "Inscription";