only disable scroll on mobile in portrait mode
Hunter
Wednesday, October 22nd, 2025 at 7:39 PM
176 }
177
178 @media (max-width: 680px) {
- html, body {
- /* overflow: hidden; */
- height: 100%;
- position: fixed;
- width: 100%;
- }
-
179 body {
180 padding: 0;
181 }
390 .resize-handle.sw { bottom: -5px; left: -5px; cursor: sw-resize; }
391 .resize-handle.sw::before { bottom: 0; left: 0; }
392
-/* Mobile: Larger 12px hitboxes for easier touch interaction */
393 @media (pointer: coarse), (hover: none) {
394 html {
395 overscroll-behavior: none;
396 }
397
398 + /* Only fix position in portrait mode to prevent scroll issues in landscape */
399 + @media (orientation: portrait) {
400 + html, body {
401 + height: 100%;
402 + position: fixed;
403 + width: 100%;
404 + }
405 + }
406 +
407 .resize-handle.corner {
408 width: 12px;
409 height: 12px;