From 79c491986ac1334d8b84f299e0621d266cc4c40e Mon Sep 17 00:00:00 2001 From: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com> Date: Wed, 19 Oct 2022 05:01:41 +0530 Subject: [PATCH] fix: text overflow (#5080) Co-authored-by: Alan --- .../booking/AvailableEventLocations.tsx | 47 ++++++++++--------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/apps/web/components/booking/AvailableEventLocations.tsx b/apps/web/components/booking/AvailableEventLocations.tsx index 137f3f70e6..c36dd93cca 100644 --- a/apps/web/components/booking/AvailableEventLocations.tsx +++ b/apps/web/components/booking/AvailableEventLocations.tsx @@ -5,29 +5,30 @@ import { Props } from "./pages/AvailabilityPage"; export function AvailableEventLocations({ locations }: { locations: Props["eventType"]["locations"] }) { return locations.length ? ( -
-
- {locations.map((location) => { - const eventLocationType = getEventLocationType(location.type); - if (!eventLocationType) { - // It's possible that the location app got uninstalled - return null; - } - return ( -
- {`${eventLocationType.label} - {locationKeyToString(location)} -
- ); - })} -
+
+ {locations.map((location) => { + const eventLocationType = getEventLocationType(location.type); + if (!eventLocationType) { + // It's possible that the location app got uninstalled + return null; + } + return ( +
+ {`${eventLocationType.label} + + + {locationKeyToString(location)} + +
+ ); + })}
) : ( <>