fix(ui): phone-width overflows in the audit's flagged rows, with an e2e check (#1757)
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:
8 files changed
+91
-31
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user