Skip to content

Open source CapCut alternative.

TypeScript

fix(site): hold the email dialog at one height across its tabs

David Leb1c719767295
diff --git a/site/src/app/su/outreach/ComposeDialog.tsx b/site/src/app/su/outreach/ComposeDialog.tsx
index b372c924..e2e6d5c8 100644
--- a/site/src/app/su/outreach/ComposeDialog.tsx
+++ b/site/src/app/su/outreach/ComposeDialog.tsx
@@ -389,7 +389,7 @@ export function OutreachComposeDialog({
}}
open={person !== null}
>
- <DialogContent className="grid max-h-[85vh] grid-rows-[auto_minmax(0,1fr)_auto] sm:max-w-5xl">
+ <DialogContent className="grid h-[85vh] grid-rows-[auto_minmax(0,1fr)_auto] sm:max-w-5xl">
<DialogHeader>
<DialogTitle>Email {target?.name ?? opening?.name}</DialogTitle>
<DialogDescription>{target?.email ?? opening?.email}</DialogDescription>
diff --git a/site/src/app/su/outreach/UserHistory.tsx b/site/src/app/su/outreach/UserHistory.tsx
index 8480bf1b..d4f4d75f 100644
--- a/site/src/app/su/outreach/UserHistory.tsx
+++ b/site/src/app/su/outreach/UserHistory.tsx
@@ -149,7 +149,7 @@ export function UserHistoryPanel({ target }: { target: OutreachRow }) {
const events = history.data ? timeline(history.data, now) : [];
return (
- <div className="flex min-h-0 flex-col gap-4 overflow-y-auto pr-1">
+ <div className="flex h-full min-h-0 flex-col gap-4 overflow-y-auto pr-1">
<dl className="grid grid-cols-2 gap-x-6 gap-y-2 text-sm sm:grid-cols-4">
<Fact label="Paid all-time" value={rolled?.fundedMicros ? dollars(rolled.fundedMicros) : "$0"} />
<Fact label="Balance" value={formatUsdPlain(target.balance)} />