Phone-width layout fixes (ENB-23)
CI / integration (push) Successful in 12s
CI / check (push) Successful in 16s

Checked at 390px and 360px in a headless mobile Chrome; no horizontal overflow
on any page.

- Tables become stacked cards on phones, with column names from data-label and
  row actions underneath instead of off the edge.
- Nav fits on one line; chips no longer wrap mid-name; less nested padding.
- Graph opens at a fixed readable zoom on phones with a pan/zoom hint, and
  scrolls to the details card when a node or label is tapped.
- Add the missing headings and wide layout to the user, entity and group forms
  (previously only the token form had them).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-10-20 13:34:21 +01:00
1 parent 0882d35123
commit 61bb6d912a
11 files changed
+154 -23

No files matched your search

+4 -3
View File
@@ -74,10 +74,10 @@ export function EntitiesTab({ client }: { client: BaoClient }) {
{entities.data?.map((e) => (
<tr key={e.id}>
<td>{e.name}</td>
<td>
<td data-label="Aliases">
<NameChips names={e.aliases.map((a) => a.name)} />
</td>
<td>
<td data-label="Policies">
<PolicyChips policies={e.policies} />
</td>
<td>
@@ -110,7 +110,8 @@ export function EntitiesTab({ client }: { client: BaoClient }) {
</button>
)}
{draft && (
<form onSubmit={submit} aria-label={draft.isNew ? 'New entity' : `Edit ${draft.name}`}>
<form onSubmit={submit} aria-label={draft.isNew ? 'New entity' : `Edit ${draft.name}`} className="wide">
<h3>{draft.isNew ? 'New entity' : `Edit ${draft.name}`}</h3>
<label>
Name
<input value={draft.name} disabled={!draft.isNew} onChange={(e) => setDraft({ ...draft, name: e.target.value })} required />