From 0ed635bbacd13f6e15bc68b47f2c485255236a61 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Wed, 5 Nov 2025 11:44:39 -0600 Subject: [PATCH] don't change dialog size --- web/src/components/overlay/detail/SearchDetailDialog.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/web/src/components/overlay/detail/SearchDetailDialog.tsx b/web/src/components/overlay/detail/SearchDetailDialog.tsx index e5bd95c83..d2d4b9358 100644 --- a/web/src/components/overlay/detail/SearchDetailDialog.tsx +++ b/web/src/components/overlay/detail/SearchDetailDialog.tsx @@ -242,8 +242,7 @@ export default function SearchDetailDialog({ "relative flex items-center justify-between", "w-full", // match dialog's max-width classes - "sm:max-w-xl md:max-w-4xl lg:max-w-4xl xl:max-w-7xl", - page == "tracking_details" && "lg:max-w-[75%] xl:max-w-[80%]", + "sm:max-w-xl md:max-w-4xl lg:max-w-[75%] xl:max-w-[80%]", )} > @@ -289,10 +288,7 @@ export default function SearchDetailDialog({ className={cn( "scrollbar-container overflow-y-auto", isDesktop && - "max-h-[95dvh] sm:max-w-xl md:max-w-4xl lg:max-w-4xl xl:max-w-7xl", - isDesktop && - page == "tracking_details" && - "lg:max-w-[75%] xl:max-w-[80%]", + "max-h-[95dvh] sm:max-w-xl md:max-w-4xl lg:max-w-[75%] xl:max-w-[80%]", isMobile && "px-4", )} onInteractOutside={(e) => {