fix(ui): phone-width overflows in the audit's flagged rows, with an e2e check (#1757)
deploy / gate (push) Successful in 4m54s
Quality / check (push) Successful in 6m36s
deploy / archied-image (push) Successful in 3m23s
deploy / agent-image (push) Successful in 11s
deploy / dist-zip (push) Skipped

Grants rows and toggle groups wrap with a smaller phone label; the token
form wraps and its input flexes; the sources name column caps at full
width and its action buttons wrap; the rule-editor condition row wraps
with a full-width phone select; the payload tree indents less and breaks
long JSON leaves; the topbar instance badge truncates; org agent rows
keep Assign inline and move Rename/Suspend/Retire into a MoreMenu. New
e2e check phone-overflow.cjs visits these views at 390x844 with seeded
data and asserts no horizontal scroll.
This commit is contained in:
sam committed 2026-11-06 23:23:16 +11:00
1 parent 94f79177a2
commit 461d3dc1f7
8 files changed
+91 -31

No files matched your search

+2 -2
View File
@@ -117,7 +117,7 @@ function url(source: Source): string {
<TableBody>
<TableRow v-for="source in sources" :key="source.path">
<TableCell class="font-mono text-fg-muted">
<div class="flex w-64 min-w-0 flex-col gap-1">
<div class="flex w-64 max-w-full min-w-0 flex-col gap-1">
<Input
class="h-7 border-transparent px-1 font-sans shadow-none hover:border-input dark:bg-transparent"
:model-value="source.name ?? ''"
@@ -152,7 +152,7 @@ function url(source: Source): string {
}}</Badge>
</TableCell>
<TableCell>
<div class="flex items-center justify-end gap-1">
<div class="flex flex-wrap items-center justify-end gap-1">
<Tooltip>
<TooltipTrigger as-child>
<Button