Put the whole help doc back behind the collapse so the live blocks are not buried

This commit is contained in:
Gmer4Lfe
2026-08-05 17:51:12 -04:00
parent 329bf25b14
commit 2ad3a1bfed
2 changed files with 6 additions and 16 deletions
-3
View File
@@ -542,9 +542,6 @@ body.vv-fullscreen #displaybox { padding-left: 1rem !important; padding-top: .5r
padding: 4px 6px 4px 0; vertical-align: top; }
.vv-doc-code { background: #0d0d0d; border: 1px solid #222; border-radius: 3px; padding: 7px 9px;
font-size: 11px; color: #9ab; overflow-x: auto; break-inside: avoid; }
/* The always-visible reference tier. Sits below the collapsible guide, so the rule reads as a
separator when the guide is open and as a header underline when it is shut. */
.vv-doc-quick { border-top: 1px solid #1c1c1c; padding-top: 9px; }
.vv-info-divider { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #444;
padding: 10px 12px 4px; border-top: 1px solid #2a2a2a; margin-top: 2px; }
+6 -13
View File
@@ -508,23 +508,16 @@ $runningScripts = array_unique($runningScripts);
also what the AI tab retrieves, so the panel you read and the answer the
assistant gives are the same text and cannot drift — the same argument that
makes this page parse script PURPOSE blocks instead of restating them.
Two tiers, one file. Collapsed leaves the reference tables visible: that is the
terse per-control lookup this panel has always been, and it is what you want
open while actually working. Expanding adds the task guide above it — the
walkthroughs you need once and then stop reading. The split is taken from the
section titles, so neither tier is a second copy of anything.
vvToggleSug() toggles the header's immediate next sibling, so the guide must
stay directly after the header and the quick tier must sit outside it. -->
Everything lives inside the collapsible body, and collapsed means gone. An
earlier version kept the reference tables permanently visible below the fold
line: 33 table rows that pushed Next Runs, Recent Errors, Activity, Locks and
the rest off the bottom of a fixed-height panel. Reference material must not
outrank the live state of the machine on the page you watch it from. -->
<div class="vv-sug-body vv-info-body">
<div class="vv-doc">
<?= vv_docs_render('Plugin/unraid/pages/readme/scheduler-readme.md', $_vv_doc_vars,
fn($h) => !is_string($h) || !str_starts_with($h, 'Reference —')) ?>
<?= vv_docs_render('Plugin/unraid/pages/readme/scheduler-readme.md', $_vv_doc_vars) ?>
</div>
</div>
<div class="vv-info-body vv-doc vv-doc-quick">
<?= vv_docs_render('Plugin/unraid/pages/readme/scheduler-readme.md', $_vv_doc_vars,
fn($h) => is_string($h) && str_starts_with($h, 'Reference —')) ?>
</div>
</div>
<!-- ── Next Runs ── -->