fix(app): dashboard cards keep the screen width with a long e-mail
The card grid had no explicit column below md: its implicit auto track took the cards' min-content, so the account e-mail never truncated and pushed the page sideways. One minmax(0,1fr) column; the e-mail wraps. e2e/shell/responsive.spec.ts sweeps 320-430 px and desktop (RESP-01).
This commit is contained in:
1 parent
dd5a23c39d
commit
a70166ea11
4 files changed
+179
-7
No files matched your search
@@ -15,6 +15,8 @@ export interface ClientSeed {
|
||||
kind?: 'person' | 'organization'
|
||||
city?: string | null
|
||||
phone?: string | null
|
||||
email?: string | null
|
||||
addressLine1?: string | null
|
||||
}
|
||||
|
||||
export async function seedClient(
|
||||
@@ -23,9 +25,11 @@ export async function seedClient(
|
||||
seed: ClientSeed = {},
|
||||
): Promise<string> {
|
||||
const ws = await workspaceOf(account)
|
||||
return sql(`insert into public.clients (workspace_id, kind, display_name, city, phone, create_request_id, create_request_digest)
|
||||
return sql(`insert into public.clients (workspace_id, kind, display_name, city, phone, email, address_line1,
|
||||
create_request_id, create_request_digest)
|
||||
values (${literal(ws)}, ${literal(seed.kind ?? 'person')}, ${literal(displayName)}, ${literal(seed.city ?? null)},
|
||||
${literal(seed.phone ?? null)}, gen_random_uuid(), '\\x00') returning id`)
|
||||
${literal(seed.phone ?? null)}, ${literal(seed.email ?? null)}, ${literal(seed.addressLine1 ?? null)},
|
||||
gen_random_uuid(), '\\x00') returning id`)
|
||||
}
|
||||
|
||||
export async function seedAnimal(
|
||||
|
||||
Reference in new issue
Block a user