commit adbcf88aad7ae074ab7ab3c1209973c32193ac99
parent 7a66af573075a3ae2c569decf933fa4dc6cbb906
Author: Hunter
Date:   Wed, 22 Oct 2025 19:39:21 -0400

only disable scroll on mobile in portrait mode

Diffstat:
Mstyle.css | 17+++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/style.css b/style.css @@ -176,13 +176,6 @@ body { } @media (max-width: 680px) { - html, body { - /* overflow: hidden; */ - height: 100%; - position: fixed; - width: 100%; - } - body { padding: 0; } @@ -397,12 +390,20 @@ body.dragging * { .resize-handle.sw { bottom: -5px; left: -5px; cursor: sw-resize; } .resize-handle.sw::before { bottom: 0; left: 0; } -/* Mobile: Larger 12px hitboxes for easier touch interaction */ @media (pointer: coarse), (hover: none) { html { overscroll-behavior: none; } + /* Only fix position in portrait mode to prevent scroll issues in landscape */ + @media (orientation: portrait) { + html, body { + height: 100%; + position: fixed; + width: 100%; + } + } + .resize-handle.corner { width: 12px; height: 12px;