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:
bchanot committed 2026-10-27 19:37:54 +01:00
1 parent dd5a23c39d
commit a70166ea11
4 files changed
+179 -7

No files matched your search

+6 -2
View File
@@ -96,14 +96,18 @@ async function seedAvatar(ownerId: string): Promise<void> {
'image/webp', ${AVATAR_WEBP.length}, ${AVATAR_WEBP.length}, '${sha256}')`)
}
/** A confirmed fictitious account, its profile in `locale`, with or without a photo. */
/**
* A confirmed fictitious account, its profile in `locale`, with or without a
* photo; `localPart` starts the address (a long one tests narrow screens).
*/
export async function createAccount(
locale: 'fr' | 'en',
withAvatar: boolean,
localPart = 'e2e-shell',
): Promise<SandboxAccount> {
const tag = randomUUID().slice(0, 8)
const account = {
email: `e2e-shell-${tag}@sandbox.local`,
email: `${localPart}-${tag}@sandbox.local`,
password: randomBytes(18).toString('base64url'),
displayName: `Praticienne Fictive ${tag}`,
}