From cb3c23e9b0336054e8f18b067d5caad32a15caaf Mon Sep 17 00:00:00 2001 From: Egor Zaitsev Date: Wed, 14 Jul 2021 12:58:08 +0300 Subject: [PATCH 1/2] fix: truncate event type description instead of title --- pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 4cf03b6863..b19fbef8be 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -103,8 +103,8 @@ export default function Home(props) {
-

{type.title}

-

+

{type.title}

+

in {type.description}

From 1dadf9f9a6ecf70b15481e8acefb9f84993b363d Mon Sep 17 00:00:00 2001 From: Egor Zaitsev Date: Wed, 14 Jul 2021 14:19:55 +0300 Subject: [PATCH 2/2] fix: same problem on the availability page --- pages/availability/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/availability/index.tsx b/pages/availability/index.tsx index ad18b232a2..0a8ad47112 100644 --- a/pages/availability/index.tsx +++ b/pages/availability/index.tsx @@ -121,7 +121,7 @@ export default function Availability(props) {
-
+
@@ -143,7 +143,7 @@ export default function Availability(props) { {props.types.map((eventType) => - - - -
+ {eventType.title} {eventType.hidden && @@ -151,13 +151,13 @@ export default function Availability(props) { } + {eventType.description} + {eventType.length} minutes + View Edit