From 9fb0a244881314c730d878ca0f126c583e677a4f Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Thu, 16 Jul 2026 05:23:29 +0200 Subject: [PATCH] autism --- public/s/css/f0ckm.css | 8 +++++--- public/s/js/f0ckm.js | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/public/s/css/f0ckm.css b/public/s/css/f0ckm.css index 466704a..d7aee6f 100644 --- a/public/s/css/f0ckm.css +++ b/public/s/css/f0ckm.css @@ -1648,11 +1648,12 @@ body.sidebar-right-hidden .global-sidebar-right { height: 56px; } -/* Left sidebar edge zone drag handle */ +/* Left sidebar edge zone drag handle — mirrors #sidebar-drag-zone */ #sidebar-left-drag-zone { display: flex; align-items: center; - justify-content: center; + justify-content: flex-start; + padding-left: 10px; opacity: 0; transition: opacity 0.2s ease; } @@ -1675,7 +1676,7 @@ body.sidebar-right-hidden .global-sidebar-right { height: 56px; } -/* Always show the left handle on touch devices */ +/* Always show the handle on touch devices (no hover state available) */ @media (pointer: coarse) { #sidebar-left-drag-zone { opacity: 0.7; @@ -9751,6 +9752,7 @@ ol { font-family: var(--font); border-bottom: 1px solid var(--nav-border-color); background: var(--nav-bg); + box-shadow: 5px 0px 10px black; } /* Brand: always visible, flush left */ diff --git a/public/s/js/f0ckm.js b/public/s/js/f0ckm.js index 475eecc..fc4ef52 100644 --- a/public/s/js/f0ckm.js +++ b/public/s/js/f0ckm.js @@ -6823,10 +6823,12 @@ window.cancelAnimFrame = (function () { const isHidden = layout.classList.contains('sidebar-hidden'); if (isHidden) { leftEdgeZone.style.left = '0'; + leftEdgeZone.style.width = '30px'; leftEdgeZone.style.pointerEvents = 'all'; } else { - const rect = sb.getBoundingClientRect(); - leftEdgeZone.style.left = (rect.right - 5) + 'px'; + const sw = sb.offsetWidth; + leftEdgeZone.style.left = sw + 'px'; + leftEdgeZone.style.width = '25px'; leftEdgeZone.style.pointerEvents = 'all'; } };