diff --git a/apps/web/components/ui/form/PhoneInput.tsx b/apps/web/components/ui/form/PhoneInput.tsx index 5455c21bae..b10f57d86b 100644 --- a/apps/web/components/ui/form/PhoneInput.tsx +++ b/apps/web/components/ui/form/PhoneInput.tsx @@ -1,8 +1,6 @@ import BasePhoneInput, { Props } from "react-phone-number-input/react-hook-form"; import "react-phone-number-input/style.css"; -import classNames from "@lib/classNames"; - export type PhoneInputProps = Props< { value: string; @@ -19,10 +17,9 @@ function PhoneInput({ control, name, ...rest }: PhoneInputProps
); } diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css index a6b60b13e4..b1a1e251d0 100644 --- a/apps/web/styles/globals.css +++ b/apps/web/styles/globals.css @@ -61,17 +61,6 @@ button[role="switch"][data-state="checked"] span { transform: translateX(16px); } -/* PhoneInput dark-mode overrides (it would add a lot of boilerplate to do this in JavaScript) */ -.PhoneInputInput { - @apply border-0 text-sm focus:ring-0; -} -.dark .PhoneInputInput { - @apply bg-black; -} -.PhoneInputCountrySelect { - @apply text-black; -} - /* DateRangePicker */ .react-daterange-picker > .react-daterange-picker__wrapper { /* border consistent with other inputs */