Trial runs itself: first enrolled phone opens a sample vote; split screen fits

This commit is contained in:
2026-11-16 22:38:43 +01:00
parent 10b6a4bec9
commit 9df596426b
4 changed files with 25 additions and 4 deletions
+6 -1
View File
@@ -38,7 +38,12 @@ body.screen {
/* enrollment + a question at the same time: qr shrinks to the side */
.s-main.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 5vw; }
.s-main.split .s-enroll { grid-template-columns: 1fr; justify-items: center; gap: 3vh; }
.s-main.split .qr-wrap { max-height: 52vh; }
.s-main.split .s-enroll { grid-template-rows: minmax(0, 1fr) auto; gap: 2vh; height: 100%; }
.s-main.split .qr-wrap { height: 100%; width: auto; max-width: 100%; max-height: none; }
.s-main.split .entry { margin-top: 1.5vh; }
/* the question owns the screen, the ring keeps the room the step list would take */
.s-main.split #qr-steps { display: none; }
.s-main.split .entry canvas { width: clamp(90px, min(10vw, 15vh), 220px); }
.s-main.split .s-steps h2 { font-size: clamp(1.4rem, 2.4vw, 2.6rem); }
.s-main.split .s-steps li { font-size: clamp(1rem, 1.5vw, 1.6rem); }