mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-27 10:38:21 +03:00
Cleanup dialog sizing
This commit is contained in:
parent
5d532f5d79
commit
b430ef5d86
@ -137,7 +137,12 @@ export default function ClassificationModelWizardDialog({
|
|||||||
<DialogContent
|
<DialogContent
|
||||||
className={cn(
|
className={cn(
|
||||||
"",
|
"",
|
||||||
isDesktop && "max-h-[90%] max-w-[50%] overflow-y-auto xl:max-h-[80%]",
|
isDesktop &&
|
||||||
|
wizardState.currentStep == 0 &&
|
||||||
|
"max-h-[90%] overflow-y-auto xl:max-h-[80%]",
|
||||||
|
isDesktop &&
|
||||||
|
wizardState.currentStep > 0 &&
|
||||||
|
"max-h-[90%] max-w-[70%] overflow-y-auto xl:max-h-[80%]",
|
||||||
)}
|
)}
|
||||||
onInteractOutside={(e) => {
|
onInteractOutside={(e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user