This commit is contained in:
2026-07-16 05:23:29 +02:00
parent e9f2929bf6
commit 9fb0a24488
2 changed files with 9 additions and 5 deletions

View File

@@ -1648,11 +1648,12 @@ body.sidebar-right-hidden .global-sidebar-right {
height: 56px; height: 56px;
} }
/* Left sidebar edge zone drag handle */ /* Left sidebar edge zone drag handle — mirrors #sidebar-drag-zone */
#sidebar-left-drag-zone { #sidebar-left-drag-zone {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: flex-start;
padding-left: 10px;
opacity: 0; opacity: 0;
transition: opacity 0.2s ease; transition: opacity 0.2s ease;
} }
@@ -1675,7 +1676,7 @@ body.sidebar-right-hidden .global-sidebar-right {
height: 56px; height: 56px;
} }
/* Always show the left handle on touch devices */ /* Always show the handle on touch devices (no hover state available) */
@media (pointer: coarse) { @media (pointer: coarse) {
#sidebar-left-drag-zone { #sidebar-left-drag-zone {
opacity: 0.7; opacity: 0.7;
@@ -9751,6 +9752,7 @@ ol {
font-family: var(--font); font-family: var(--font);
border-bottom: 1px solid var(--nav-border-color); border-bottom: 1px solid var(--nav-border-color);
background: var(--nav-bg); background: var(--nav-bg);
box-shadow: 5px 0px 10px black;
} }
/* Brand: always visible, flush left */ /* Brand: always visible, flush left */

View File

@@ -6823,10 +6823,12 @@ window.cancelAnimFrame = (function () {
const isHidden = layout.classList.contains('sidebar-hidden'); const isHidden = layout.classList.contains('sidebar-hidden');
if (isHidden) { if (isHidden) {
leftEdgeZone.style.left = '0'; leftEdgeZone.style.left = '0';
leftEdgeZone.style.width = '30px';
leftEdgeZone.style.pointerEvents = 'all'; leftEdgeZone.style.pointerEvents = 'all';
} else { } else {
const rect = sb.getBoundingClientRect(); const sw = sb.offsetWidth;
leftEdgeZone.style.left = (rect.right - 5) + 'px'; leftEdgeZone.style.left = sw + 'px';
leftEdgeZone.style.width = '25px';
leftEdgeZone.style.pointerEvents = 'all'; leftEdgeZone.style.pointerEvents = 'all';
} }
}; };