From 446c29dd9c576103d7b3caa02317a65b43db0e9d Mon Sep 17 00:00:00 2001 From: Nafees Nazik <84864519+G3root@users.noreply.github.com> Date: Mon, 10 Apr 2023 21:42:15 +0530 Subject: [PATCH] fix: booker phone input style (#8165) * fix: text area styles * fix: phone input styles * fix: use the text area component * fix: remove focus style --- apps/web/styles/globals.css | 5 +---- .../components/react-awesome-query-builder/widgets.tsx | 6 ++---- packages/ui/components/form/inputs/Input.tsx | 2 +- packages/ui/form/PhoneInput.tsx | 8 ++++++-- 4 files changed, 10 insertions(+), 11 deletions(-) diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css index fdfaa7a71d..04558d4ac1 100644 --- a/apps/web/styles/globals.css +++ b/apps/web/styles/globals.css @@ -229,10 +229,7 @@ select:focus { --tw-ring-color: var(--brand-color); border-color: var(--brand-color); } -/* https://stackoverflow.com/a/69308190 */ -input[type="text"]:focus { - box-shadow: none; -} + @layer components { .scroll-bar { diff --git a/packages/app-store/routing-forms/components/react-awesome-query-builder/widgets.tsx b/packages/app-store/routing-forms/components/react-awesome-query-builder/widgets.tsx index 891d62e007..a20af667fe 100644 --- a/packages/app-store/routing-forms/components/react-awesome-query-builder/widgets.tsx +++ b/packages/app-store/routing-forms/components/react-awesome-query-builder/widgets.tsx @@ -7,7 +7,7 @@ import type { ProviderProps, } from "react-awesome-query-builder"; -import { Button as CalButton, SelectWithValidation as Select, TextField } from "@calcom/ui"; +import { Button as CalButton, SelectWithValidation as Select, TextField, TextArea } from "@calcom/ui"; import { FiTrash, FiPlus } from "@calcom/ui/components/icon"; export type CommonProps< @@ -79,13 +79,12 @@ const TextAreaWidget = (props: TextLikeComponentPropsRAQB) => { const textValue = value || ""; return ( -