From 160e3f5bcba6553684e3f835b773f4f1664d558f Mon Sep 17 00:00:00 2001 From: Christian Denker Date: Tue, 8 Oct 2024 11:19:33 +0200 Subject: [PATCH] layout --- index.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 928a4f2..3870128 100644 --- a/index.html +++ b/index.html @@ -15,6 +15,9 @@ font-family: Arial, Helvetica, sans-serif; -webkit-user-select: none; user-select: none; + width: 100vw; + height: 100vh; + overflow: hidden; } .container { @@ -26,7 +29,7 @@ justify-content: center; background-color: #ffffff; aspect-ratio: 5 / 4; /* Aspect ratio 4:3 */ - + height: 100%; } /* vertical stacked: */ @@ -36,16 +39,12 @@ font-size: 2vw; text-align: center; /* Center text within each label */ font-weight: 300; - position: relative; - top: 2vw; display: flex; } .questionHeader { /* height: 20vh; */ font-size:4vw; - position: relative; - top: 6vw; text-align: center; /* Center text within each label */ font-weight: 600; margin: 0 5vw 0 5vw; @@ -104,13 +103,17 @@ #answer2 { text-align: right; } + #liveIndicator { + width: 32px; + height: 32px; + }
LIVE ABSTIMMUNG - +
- + @@ -223,6 +226,7 @@ document.addEventListener('pointermove', onDrag); document.addEventListener('pointerup', endDrag); + function startDrag(e) { e.preventDefault(); if (typeof pollyMessageListener !== 'undefined' && pollyMessageListener !== null) {