From 008e2600c63a9e3edba7ed2b408086e0007e7bbb Mon Sep 17 00:00:00 2001 From: Owen Date: Tue, 29 Sep 2026 11:50:46 -0400 Subject: [PATCH] Make dropdown longer --- src/app/[orgId]/settings/resources/private/create/page.tsx | 2 +- src/components/DescribedSelect.tsx | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/app/[orgId]/settings/resources/private/create/page.tsx b/src/app/[orgId]/settings/resources/private/create/page.tsx index 27ac06e3f..790de01cf 100644 --- a/src/app/[orgId]/settings/resources/private/create/page.tsx +++ b/src/app/[orgId]/settings/resources/private/create/page.tsx @@ -37,7 +37,6 @@ import { type PrivateResourceMode } from "@app/lib/privateResourceForm"; import { zodResolver } from "@hookform/resolvers/zod"; -import { tierMatrix } from "@server/lib/billing/tierMatrix"; import type { SiteResource } from "@server/db"; import { GetSiteResponse } from "@server/routers/site/getSite"; import type ResponseT from "@server/types/Response"; @@ -350,6 +349,7 @@ export default function CreatePrivateResourcePage() { placeholder={t( "noneSelected" )} + listClassName="max-h-[346px]" /> diff --git a/src/components/DescribedSelect.tsx b/src/components/DescribedSelect.tsx index c5a1f63d0..3c95e5b3e 100644 --- a/src/components/DescribedSelect.tsx +++ b/src/components/DescribedSelect.tsx @@ -33,6 +33,7 @@ type DescribedSelectProps = { placeholder?: string; disabled?: boolean; className?: string; + listClassName?: string; }; export function DescribedSelect({ @@ -43,7 +44,8 @@ export function DescribedSelect({ emptyMessage, placeholder, disabled, - className + className, + listClassName }: DescribedSelectProps) { const [open, setOpen] = useState(false); const selected = options.find((option) => option.value === value); @@ -75,7 +77,7 @@ export function DescribedSelect({ > - + {emptyMessage} {options.map((option) => (