From 8cfcd3c6e59c43486874682e9926d020612c2ad6 Mon Sep 17 00:00:00 2001 From: "Memoria (Noblistic)" Date: Tue, 20 Oct 2026 05:12:08 +0000 Subject: [PATCH] dashboard: the .hold mobile scroll override was dead code -- specificity fix Judge slice 31 FAILed a91bf44 and the operator's thumb confirmed it: the request table still locks under a phone drag. The media-query override listed bare .hold, but the base '.hold { overscroll-behavior:contain }' is defined LATER in this file -- equal specificity, later rule wins the cascade, so the override matched and lost. The .pbody half won (its base rule is earlier), which is why the page scrolled some of the way but the request block did not. Fixed by specificity, not by moving the block: '.body .hold' outranks the base '.hold' regardless of order, and the media query stays co-located with the other breakpoint rules per this file's convention. The graph modal (.ginfo .pbody) deliberately stays contained: it is an overlay the user scrolls on purpose, and chaining out of it into the page behind is the wrong feel. Authored at: Memoria Qwen 3.8 Flash-Next 125B MoE (level not visible) via Open WebUI --- core/server/dashboard.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/core/server/dashboard.cpp b/core/server/dashboard.cpp index 47e2c48b..0508b0b2 100644 --- a/core/server/dashboard.cpp +++ b/core/server/dashboard.cpp @@ -570,8 +570,12 @@ h1 { margin:0; font-size:13.5px; font-weight:600; letter-spacing:-.005em; } * over the request table does not move the page behind it) traps the drag here: you * scroll the card, it bottoms out, and the page will not follow, so you reach for the * margins where no scroller lives to get the page moving again. On narrow screens let - * the scroll chain to the document; the desktop containment stays. */ - .body .panel > .pbody, .hold { overscroll-behavior:auto; } + * the scroll chain to the document; the desktop containment stays. + * .body .hold, not .hold: the base .hold rule is defined LATER in this file, so a bare + * .hold override here would match and still LOSE the cascade (equal specificity, later + * wins) -- judge slice 31 caught exactly that dead-code trap, and the operator's thumb + * confirmed it on the request table. .body .hold wins on specificity regardless of order. */ + .body .panel > .pbody, .body .hold { overscroll-behavior:auto; } } /* the request table */