From 48419469a6f5ebe0a2319f37a11fcf74db78b794 Mon Sep 17 00:00:00 2001 From: Jeroen Reumkens Date: Fri, 30 Sep 2022 12:47:20 +0200 Subject: [PATCH] #4445: Fix to prevent bookings with long titles or a lot of content from overflowing on the page. (#4769) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: Omar López --- apps/web/components/booking/BookingListItem.tsx | 8 ++++---- apps/web/pages/v2/bookings/[status].tsx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx index 30dee6737b..c1d6202ee1 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -262,7 +262,7 @@ function BookingListItem(booking: BookingItemProps) { - +
{startTime}
@@ -296,7 +296,7 @@ function BookingListItem(booking: BookingItemProps) {
- + {/* Time and Badges for mobile */}
@@ -335,7 +335,7 @@ function BookingListItem(booking: BookingItemProps) {
{booking.title} @@ -366,7 +366,7 @@ function BookingListItem(booking: BookingItemProps) { )}
- + {isUpcoming && !isCancelled ? ( <> {isPending && user?.id === booking.user?.id && } diff --git a/apps/web/pages/v2/bookings/[status].tsx b/apps/web/pages/v2/bookings/[status].tsx index 80635623d2..bc259d080c 100644 --- a/apps/web/pages/v2/bookings/[status].tsx +++ b/apps/web/pages/v2/bookings/[status].tsx @@ -90,7 +90,7 @@ export default function Bookings() { return ( -
+
{query.status === "error" && ( )} @@ -103,7 +103,7 @@ export default function Bookings() { */}
- +
{query.data.pages.map((page, index) => (