Fix: pattern regex v-flag, help mobile: TOC accordion not slide-over, search always in TOC
CI / lint (push) Failing after 4s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / security (push) Successful in 9s

This commit is contained in:
2026-06-03 11:13:37 -04:00
parent baba4e9fc7
commit 227e157793
4 changed files with 33 additions and 79 deletions
+15 -52
View File
@@ -2193,9 +2193,6 @@ select {
margin-right: 8px;
}
.help-hamburger:hover { color: var(--accent); border-color: var(--accent); }
.help-nav-overlay {
display: none;
}
.help-nav {
width: 260px;
min-width: 260px;
@@ -2227,19 +2224,6 @@ select {
letter-spacing: 0.05em;
color: var(--text-muted);
}
.help-nav-close {
display: none;
width: 32px; height: 32px;
padding: 0;
border: 1px solid var(--border);
border-radius: 6px;
background: transparent;
color: var(--text-secondary);
cursor: pointer;
align-items: center;
justify-content: center;
}
.help-nav-close:hover { color: var(--accent); border-color: var(--accent); }
.help-nav-search-wrap {
padding: 0 12px 8px;
flex-shrink: 0;
@@ -6449,49 +6433,28 @@ body.popup-mode .content-area {
border-radius: 0;
}
/* Hamburger visible on mobile */
.help-hamburger {
display: inline-flex;
}
/* TOC: slide-over from left */
.help-nav-overlay {
display: block;
position: fixed;
inset: 0;
background: rgba(0,0,0,0.5);
z-index: 1100;
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
}
.help-nav-overlay.visible {
opacity: 1;
pointer-events: auto;
}
/* TOC: collapsible block at top (not slide-over) */
.help-nav {
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 280px;
min-width: 280px;
max-height: 100vh;
height: 100vh;
z-index: 1200;
transform: translateX(-100%);
transition: transform 0.25s ease;
border-right: 1px solid var(--border);
box-shadow: 2px 0 16px rgba(0,0,0,0.3);
position: static;
width: 100%;
min-width: 100%;
max-height: none;
height: auto;
z-index: auto;
transform: none;
transition: none;
border-right: none;
border-bottom: 1px solid var(--border);
box-shadow: none;
flex-shrink: 0;
display: none; /* hidden by default on mobile */
}
.help-nav.open {
transform: translateX(0);
}
.help-nav-close {
display: inline-flex;
.help-nav-header {
padding: 10px 16px 6px;
}
/* Content full-width */