From c92283f03d213469c03e39bb7afafe80f2fb7d8f Mon Sep 17 00:00:00 2001 From: GitStart <1501599+gitstart@users.noreply.github.com> Date: Sun, 22 May 2022 20:31:59 +0800 Subject: [PATCH] fix: long string overflowing calendar div (#2842) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: gitstart Co-authored-by: JĂșlio Piubello da Silva Cabral --- .../components/booking/pages/AvailabilityPage.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/apps/web/components/booking/pages/AvailabilityPage.tsx b/apps/web/components/booking/pages/AvailabilityPage.tsx index ab1ecbe88a..ecca5bdeb2 100644 --- a/apps/web/components/booking/pages/AvailabilityPage.tsx +++ b/apps/web/components/booking/pages/AvailabilityPage.tsx @@ -212,9 +212,11 @@ const AvailabilityPage = ({ profile, plan, eventType, workingHours, previousPage truncateAfter={5} />
-

{profile.name}

+

+ {profile.name} +

-

+

{eventType.title}

{eventType?.description && ( @@ -263,7 +265,7 @@ const AvailabilityPage = ({ profile, plan, eventType, workingHours, previousPage
-

{profile.name}

-

+

+ {profile.name} +

+

{eventType.title}

{eventType?.description && (