Files
Tom MoorandClaude Opus 4.8 8cd23e40bf fix: Vertically center empty state in notifications popover (#12764)
* fix: Vertically center empty state in notifications popover

The empty state relied on percentage heights to center, but the
height chain was broken by the outer container only setting min/max
height. Switch to flexbox growth so the scroll region fills the
available space and the empty message centers reliably.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J7kMKxnH5gfziT5GNgsXZW

* chore: Add development util to create test notifs

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-06-20 21:42:18 -04:00

21 lines
499 B
TypeScript

import { z } from "zod";
import { BaseSchema } from "../schema";
export const CreateTestUsersSchema = BaseSchema.extend({
body: z.object({
count: z.coerce.number().prefault(10),
}),
});
export type CreateTestUsersReq = z.infer<typeof CreateTestUsersSchema>;
export const CreateTestNotificationsSchema = BaseSchema.extend({
body: z.object({
count: z.coerce.number().prefault(10),
}),
});
export type CreateTestNotificationsReq = z.infer<
typeof CreateTestNotificationsSchema
>;