From 889b3f36ae1aa6cba3fe7e4afc7736fc57f573a2 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Fri, 24 Sep 2021 18:03:09 +0100 Subject: [PATCH] fixed mobile booking layout for long descriptions --- components/eventtype/EventTypeDescription.tsx | 86 +++++++++---------- 1 file changed, 39 insertions(+), 47 deletions(-) diff --git a/components/eventtype/EventTypeDescription.tsx b/components/eventtype/EventTypeDescription.tsx index 86d5b8b5..87069ec4 100644 --- a/components/eventtype/EventTypeDescription.tsx +++ b/components/eventtype/EventTypeDescription.tsx @@ -1,10 +1,4 @@ -import { - ClockIcon, - CreditCardIcon, - InformationCircleIcon, - UserIcon, - UsersIcon, -} from "@heroicons/react/solid"; +import { ClockIcon, CreditCardIcon, UserIcon, UsersIcon } from "@heroicons/react/solid"; import { SchedulingType } from "@prisma/client"; import { Prisma } from "@prisma/client"; import React from "react"; @@ -32,47 +26,45 @@ export type EventTypeDescriptionProps = { export const EventTypeDescription = ({ eventType, className }: EventTypeDescriptionProps) => { return ( - + + )} + + + ); };