diff --git a/package.json b/package.json index b9f6c107c..e0adc841c 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "typescript-transform-paths": "^3.5.6", "zip-local": "^0.3.5" }, - "packageManager": "pnpm@11.21.0", + "packageManager": "pnpm@11.22.0", "engines": { "node": ">=22" } diff --git a/src/components/FormSwitch.css b/src/components/FormSwitch.css index cabe72492..527b74f34 100644 --- a/src/components/FormSwitch.css +++ b/src/components/FormSwitch.css @@ -32,11 +32,3 @@ flex-shrink: 0; padding-top: 2px; } - -.vc-form-switch-border { - margin-top: 20px; -} - -.vc-form-switch-description { - color: var(--text-subtle); -} diff --git a/src/components/FormSwitch.tsx b/src/components/FormSwitch.tsx index ed436c3d4..f7023e339 100644 --- a/src/components/FormSwitch.tsx +++ b/src/components/FormSwitch.tsx @@ -9,7 +9,7 @@ import "./FormSwitch.css"; import { classes } from "@utils/misc"; import type { PropsWithChildren, ReactNode } from "react"; -import { Divider } from "./Divider"; +import { Flex } from "./Flex"; import { Span } from "./Span"; import { Switch } from "./Switch"; @@ -26,24 +26,22 @@ export interface FormSwitchProps { export function FormSwitch({ onChange, title, value, description, disabled, className, hideBorder }: FormSwitchProps) { return ( -