Skip to content

Scheduling infrastructure for absolutely everyone.

fix: Booking Drawer - text overlap in footer (#27897)

Hariom Balhara635c1febb02e
diff --git a/apps/web/modules/bookings/components/BookingDetailsSheet.tsx b/apps/web/modules/bookings/components/BookingDetailsSheet.tsx
index 9c1a46ddf0a..11e1c0309f0 100644
--- a/apps/web/modules/bookings/components/BookingDetailsSheet.tsx
+++ b/apps/web/modules/bookings/components/BookingDetailsSheet.tsx
@@ -202,15 +202,15 @@ function BookingDetailsSheetInner({
const recurringInfo =
booking.recurringEventId && booking.eventType?.recurringEvent
? {
- count: booking.eventType.recurringEvent.count,
- recurringEvent: booking.eventType.recurringEvent,
- }
+ count: booking.eventType.recurringEvent.count,
+ recurringEvent: booking.eventType.recurringEvent,
+ }
: null;
const customResponses = booking.responses
? Object.entries(booking.responses as Record<string, unknown>)
- .filter(([fieldName]) => shouldShowFieldInCustomResponses(fieldName))
- .map(([question, answer]) => [question, answer] as [string, unknown])
+ .filter(([fieldName]) => shouldShowFieldInCustomResponses(fieldName))
+ .map(([question, answer]) => [question, answer] as [string, unknown])
: [];
const reason =
@@ -220,7 +220,7 @@ function BookingDetailsSheetInner({
return (
<Sheet open={true} onOpenChange={handleClose} modal={false}>
<SheetContent
- className="overflow-y-auto"
+ className="overflow-y-auto pb-0 sm:pb-0"
hideOverlay
onInteractOutside={(e) => {
// Check if the click is on a booking list item
@@ -349,7 +349,7 @@ function BookingDetailsSheetInner({
</div>
</SheetBody>
- <SheetFooter className="bg-muted border-subtle -mx-4 -mb-4 border-t pt-0 sm:-mx-6 sm:-my-6">
+ <SheetFooter className="bg-muted border-subtle -mx-4 border-t pt-0 sm:-mx-6">
<div className="flex w-full min-w-0 flex-row flex-wrap items-center justify-end gap-2 px-4 pb-4 pt-4">
{isPending ? (
<>