diff --git a/apps/web/components/booking/BookingDescription.tsx b/apps/web/components/booking/BookingDescription.tsx index 63a47a9988..7d5900e06a 100644 --- a/apps/web/components/booking/BookingDescription.tsx +++ b/apps/web/components/booking/BookingDescription.tsx @@ -135,7 +135,6 @@ const BookingDescription: FC = (props) => {
  • )}
    - {type.hidden && ( - - {t("hidden")} - - )} + {type.hidden && {t("hidden")}}
    (
  • - + {dur}m
  • )) ) : (
  • - + {eventType.length}m
  • )} {eventType.schedulingType && (
  • - + {eventType.schedulingType === SchedulingType.ROUND_ROBIN && t("round_robin")} {eventType.schedulingType === SchedulingType.COLLECTIVE && t("collective")} @@ -87,7 +87,7 @@ export const EventTypeDescription = ({ )} {recurringEvent?.count && recurringEvent.count > 0 && (
  • - + {t("repeats_up_to", { count: recurringEvent.count, })} @@ -96,7 +96,7 @@ export const EventTypeDescription = ({ )} {stripeAppData.price > 0 && (
  • - + - + {eventType.metadata?.requiresConfirmationThreshold ? t("may_require_confirmation") : t("requires_confirmation")} @@ -119,7 +119,7 @@ export const EventTypeDescription = ({ {/* TODO: Maybe add a tool tip to this? */} {eventType.requiresConfirmation || (recurringEvent?.count && recurringEvent.count) ? (
  • - +

    {[eventType.requiresConfirmation, recurringEvent?.count].filter(Boolean).length}

  • @@ -128,7 +128,7 @@ export const EventTypeDescription = ({ )} {eventType?.seatsPerTimeSlot ? (
  • - +

    {t("event_type_seats", { numberOfSeats: eventType.seatsPerTimeSlot })}

  • diff --git a/packages/ui/components/badge/Badge.tsx b/packages/ui/components/badge/Badge.tsx index df3359d473..b119ff696a 100644 --- a/packages/ui/components/badge/Badge.tsx +++ b/packages/ui/components/badge/Badge.tsx @@ -20,14 +20,14 @@ const badgeStyles = cva("font-medium inline-flex items-center justify-center rou error: "bg-red-100 text-red-800", }, size: { - sm: "px-1 py-0.5 text-xs", - md: "py-1 px-1.5 text-xs", - lg: "py-1 px-2 text-sm", + sm: "px-1 py-0.5 text-xs leading-3", + md: "py-1 px-1.5 text-xs leading-3", + lg: "py-1 px-2 text-sm leading-4", }, }, defaultVariants: { variant: "default", - size: "sm", + size: "md", }, });