* fix padding in debug view

* remove latin character regex from wizard step 1 validation
This commit is contained in:
Josh Hawkins 2025-10-15 06:29:49 -05:00 committed by GitHub
parent b02d45d3cb
commit 3c8ef0c71c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View File

@ -80,10 +80,6 @@ export default function Step1NameCamera({
.string() .string()
.min(1, t("cameraWizard.step1.errors.nameRequired")) .min(1, t("cameraWizard.step1.errors.nameRequired"))
.max(64, t("cameraWizard.step1.errors.nameLength")) .max(64, t("cameraWizard.step1.errors.nameLength"))
.regex(
/^[a-zA-Z0-9\s_-]+$/,
t("cameraWizard.step1.errors.invalidCharacters"),
)
.refine( .refine(
(value) => !existingCameraNames.includes(value), (value) => !existingCameraNames.includes(value),
t("cameraWizard.step1.errors.nameExists"), t("cameraWizard.step1.errors.nameExists"),

View File

@ -162,7 +162,7 @@ export default function ObjectSettingsView({
} }
return ( return (
<div className="mt-1 flex size-full flex-col md:flex-row"> <div className="mt-1 flex size-full flex-col pb-2 md:flex-row">
<Toaster position="top-center" closeButton={true} /> <Toaster position="top-center" closeButton={true} />
<div className="scrollbar-container order-last mb-10 mt-2 flex h-full w-full flex-col overflow-y-auto rounded-lg border-[1px] border-secondary-foreground bg-background_alt p-2 md:order-none md:mb-0 md:mr-2 md:mt-0 md:w-3/12"> <div className="scrollbar-container order-last mb-10 mt-2 flex h-full w-full flex-col overflow-y-auto rounded-lg border-[1px] border-secondary-foreground bg-background_alt p-2 md:order-none md:mb-0 md:mr-2 md:mt-0 md:w-3/12">
<Heading as="h4" className="mb-2"> <Heading as="h4" className="mb-2">