From 1005e5a8e2482adc3ebfcecdee1720c92330e855 Mon Sep 17 00:00:00 2001 From: Oleksandr Kozachuk <201152+ok2@users.noreply.github.com> Date: Mon, 8 Jun 2026 23:02:44 +0200 Subject: [PATCH] web: forward-port the no-horizontal-scroll rules into source style.css (de-em-dashed comments) --- helwasm/style.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/helwasm/style.css b/helwasm/style.css index a0f11d7..ba1c5ff 100644 --- a/helwasm/style.css +++ b/helwasm/style.css @@ -34,10 +34,12 @@ @font-face { font-family:"text-security-disc"; font-display:swap; src:url("./assets/fonts/text-security-disc.woff2") format("woff2"); } * { margin: 0; padding: 0; box-sizing: border-box; } -html { height: 100%; } +html { height: 100%; overflow-x: hidden; overscroll-behavior-x: none; } body { min-height: 100%; + overflow-x: hidden; /* no sideways pan; page is single column */ + overscroll-behavior-x: none; /* kill horizontal rubber-band / swipe-nav */ font-family: var(--body); font-size: 16px; line-height: 1.6;