From bc0fc4dc460ffe85dfb1f64ae5fcf4f68e6a0adc Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Sat, 25 Apr 2026 07:36:01 -0500 Subject: [PATCH] ensure classification wizard dialog is scrollable on mobile too --- .../ClassificationModelWizardDialog.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/web/src/components/classification/ClassificationModelWizardDialog.tsx b/web/src/components/classification/ClassificationModelWizardDialog.tsx index 0c43b9942..d9b3b64e9 100644 --- a/web/src/components/classification/ClassificationModelWizardDialog.tsx +++ b/web/src/components/classification/ClassificationModelWizardDialog.tsx @@ -14,7 +14,6 @@ import Step3ChooseExamples, { Step3FormData, } from "./wizard/Step3ChooseExamples"; import { cn } from "@/lib/utils"; -import { isDesktop } from "react-device-detect"; import axios from "axios"; const OBJECT_STEPS = [ @@ -153,13 +152,9 @@ export default function ClassificationModelWizardDialog({ > 0 && - "max-h-[90%] max-w-[70%] overflow-y-auto xl:max-h-[80%]", + "scrollbar-container max-h-[90%] overflow-y-auto", + wizardState.currentStep == 0 && "xl:max-h-[80%]", + wizardState.currentStep > 0 && "md:max-w-[70%] xl:max-h-[80%]", )} onInteractOutside={(e) => { e.preventDefault();