From c6ad2de2f98c4aab09a2984115990666d8886b45 Mon Sep 17 00:00:00 2001 From: Hariom Balhara Date: Mon, 19 Sep 2022 17:04:30 +0530 Subject: [PATCH] Embed width increase to allow preview to work in desktop mode (#4547) --- apps/web/components/Embed.tsx | 12 ++++++------ packages/ui/v2/core/Dialog.tsx | 4 ++-- .../v2/core/navigation/tabs/HorizontalTabItem.tsx | 13 +++++++++++++ 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/apps/web/components/Embed.tsx b/apps/web/components/Embed.tsx index 1405fe1ac0..d8a0a5d047 100644 --- a/apps/web/components/Embed.tsx +++ b/apps/web/components/Embed.tsx @@ -5,10 +5,10 @@ import { createRef, forwardRef, MutableRefObject, RefObject, useRef, useState } import { components, ControlProps } from "react-select"; import { useLocale } from "@calcom/lib/hooks/useLocale"; -import { Dialog, DialogClose, DialogContent } from "@calcom/ui/Dialog"; import { Icon } from "@calcom/ui/Icon"; import { InputLeading, Label, TextArea, TextField } from "@calcom/ui/form/fields"; import { Button, HorizontalTabs, showToast, Switch } from "@calcom/ui/v2"; +import { Dialog, DialogClose, DialogContent } from "@calcom/ui/v2/core/Dialog"; import { EMBED_LIB_URL, WEBAPP_URL } from "@lib/config/constants"; @@ -560,7 +560,7 @@ ${getEmbedTypeSpecificString({ embedFramework: "react", embedType, calLink, prev { name: "Preview", href: "embedTabName=embed-preview", - icon: Icon.FiEye, + icon: Icon.FiTrello, type: "iframe", Component: forwardRef< HTMLIFrameElement | HTMLTextAreaElement | null, @@ -606,7 +606,7 @@ const ChooseEmbedTypesDialogContent = () => { const { t } = useLocale(); const router = useRouter(); return ( - +