Files
archie/ui/src/captures/CapturesCard.vue
T
sam 28e2c01018 fix(webui): bind the capture pane to the list it sits beside
The pane was capped against the viewport, which let it grow taller than the
box it lives in on a short list -- and a sticky element taller than its
container is a sticky element that cannot stick. It is now capped by the
list's own measured height and by the room the window has, whichever is
smaller: both are sizes the pane does not influence, so filling the cap
cannot feed back into it. Stacked, where there is no sibling to be bound by,
the panel caps itself at 62vh the way the task log does, so one large
payload is a scrolling payload rather than a ten-thousand-pixel page.
2026-09-21 01:22:22 +10:00

25 lines
790 B
Vue

<script setup lang="ts">
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import CapturesList from "./CapturesList.vue";
/** The captured events panel, with the note that qualifies everything inside
* it: what an operator reads here has already been through redaction.
*
* The card grows with its rows, and the pane beside it is capped by this
* card's height -- so the list is what an operator scrolls, never a nested box
* inside a box. */
</script>
<template>
<Card>
<CardHeader>
<CardTitle>Recent captures</CardTitle>
<CardDescription>Headers and payloads are redacted before they are stored.</CardDescription>
</CardHeader>
<CardContent>
<CapturesList />
</CardContent>
</Card>
</template>