fix: XSS event delegation, match btn class, CSS height/mobile, server validation

This commit is contained in:
Jeremy Brandenburger
2026-03-30 14:07:36 +02:00
parent 111f93da44
commit 9995d41c49
4 changed files with 51 additions and 22 deletions
+10 -2
View File
@@ -71,7 +71,7 @@ body::after {
.view {
position: relative;
z-index: 1;
min-height: calc(100vh - 64px);
min-height: calc(100vh - 56px);
padding: 24px 20px 48px;
max-width: 1100px;
margin: 0 auto;
@@ -570,6 +570,9 @@ select option { background: var(--bg-surface2); }
.timer.flash-wrong { animation: shake 0.4s ease; }
/* Container shake when wrong input in match mode */
.flash-wrong-seq { animation: shake 0.35s ease; }
/* ── D-Pad ─────────────────────────────────────────────────────────────────── */
.dpad {
display: flex;
@@ -827,7 +830,12 @@ select option { background: var(--bg-surface2); }
.nav-links { display: none; }
.dashboard-grid { grid-template-columns: 1fr; }
.admin-layout { grid-template-columns: 1fr; }
.match-sequences { grid-template-columns: 1fr; }
.match-sequences { grid-template-columns: 1fr; gap: 12px; }
.stratagem-name { font-size: 1.4rem; }
.arrow-key { width: 40px; height: 40px; font-size: 1.1rem; }
.match-scoreboard { gap: 16px; }
.match-wins { font-size: 2rem; }
.match-status-text { font-size: 1.3rem; }
.practice-hud { gap: 16px; }
.timer { font-size: 2rem; }
}