Let the Assistant's expand control actually give the transcript room

The AI cards sat in the monitor grid, which caps every row at a quarter of the viewport and
clips the card, so expanding grew the transcript inside a box the row had already sized.
This commit is contained in:
Gmer4Lfe
2026-08-09 10:29:50 -04:00
parent 6cdb0d1eab
commit 2aa9302751
2 changed files with 62 additions and 3 deletions
+13 -3
View File
@@ -297,8 +297,19 @@ $_vv_doc_vars = array_merge(vv_conf_vars(), ['SCRIPTS_DIR' => SCRIPTS_DIR]);
<div id="vv-array-body">Loading...</div>
</div>
</div>
<?php if (vv_ai_ui_on()): ?>
<!-- Row 5: AI residency | Saved conversations | Assistant -->
<!-- ── AI row — its own grid, deliberately ──────────────────────────────────────
Same eight columns and the same gap, so it reads as the last row of the one above. It is a
separate container because #vv-monitor caps every row at minmax(0, ~25vh) and clips its
cards with overflow:hidden — which is right for a dashboard tile that must not push the
others off screen, and wrong for the one card you sit and read. Inside that grid the
expand control did nothing visible: the transcript grew and scrolled inside a box whose
height the row had already decided.
Cards here size to their content instead. -->
<div id="vv-monitor-ai">
<!-- AI residency | Saved conversations | Assistant -->
<!-- Present only on the AI host with AI_ENABLED true, on the same footing as the GPU and UPS
cards above: a subsystem that is not here does not render an empty card explaining that
it is not here. api/ai.php refuses every action independently, so this is presentation
@@ -349,9 +360,8 @@ $_vv_doc_vars = array_merge(vv_conf_vars(), ['SCRIPTS_DIR' => SCRIPTS_DIR]);
]);
?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<!-- ── How to read this page ────────────────────────────────────────────────────
Rendered from pages/readme/monitor-readme.md, not maintained here. That file is also what