Skip to content

Commit 5a483e7

Browse files
authored
fix(apps/web): update description formatting in bookings single view to preserve whitespace (calcom#24440)
- Changed the class of the description paragraph from `break-words` to `break-words whitespace-pre-line` to ensure that whitespace is preserved in the booking description display.
1 parent bb9c4bb commit 5a483e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/modules/bookings/views/bookings-single-view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ export default function Success(props: PageProps) {
694694
<>
695695
<div className="mt-9 font-medium">{t("additional_notes")}</div>
696696
<div className="col-span-2 mb-2 mt-9">
697-
<p className="break-words">{bookingInfo.description}</p>
697+
<p className="whitespace-pre-line break-words">{bookingInfo.description}</p>
698698
</div>
699699
</>
700700
)}

0 commit comments

Comments
 (0)