Scheduling infrastructure for absolutely everyone.
Make the height of textarea as per container height but consider the text above it (#3189)
Hariom Balharaad35d3d56759
diff --git a/apps/web/components/Embed.tsx b/apps/web/components/Embed.tsxindex 2c92492da9a..dff294bcf51 100644--- a/apps/web/components/Embed.tsx+++ b/apps/web/components/Embed.tsx@@ -467,12 +467,14 @@ const tabs = [}return (<>- <small className="flex py-4 text-neutral-500">{t("place_where_cal_widget_appear")}</small>+ <div>+ <small className="flex py-4 text-neutral-500">{t("place_where_cal_widget_appear")}</small>+ </div><TextAreadata-testid="embed-code"ref={ref as typeof ref & MutableRefObject<HTMLTextAreaElement>}name="embed-code"- className="h-[36rem]"+ className="h-[calc(100%-50px)]"readOnlyvalue={`<!-- Cal ${embedType} embed code begins -->\n` +@@ -519,7 +521,7 @@ ${getEmbedTypeSpecificString({ embedFramework: "HTML", embedType, calLink, previdata-testid="embed-react"ref={ref as typeof ref & MutableRefObject<HTMLTextAreaElement>}name="embed-react"- className="h-[36rem]"+ className="h-[calc(100%-50px)]"readOnlyvalue={`/* First make sure that you have installed the package */