Skip to content

Scheduling infrastructure for absolutely everyone.

booking cancellation reason overflow fix (#24072)

Anshumancanrock805fcc22a56f
diff --git a/apps/web/modules/bookings/views/bookings-single-view.tsx b/apps/web/modules/bookings/views/bookings-single-view.tsx
index 78c8f4f141a..d65dbec89d8 100644
--- a/apps/web/modules/bookings/views/bookings-single-view.tsx
+++ b/apps/web/modules/bookings/views/bookings-single-view.tsx
@@ -556,7 +556,9 @@ export default function Success(props: PageProps) {
<div className="font-medium">
{isCancelled ? t("reason") : t("reschedule_reason")}
</div>
- <div className="col-span-2 mb-6 last:mb-0">{cancellationReason}</div>
+ <div className="col-span-2 mb-6 last:mb-0">
+ <p className="break-words">{cancellationReason}</p>
+ </div>
</>
)}
{isCancelled && bookingInfo?.cancelledBy && (