Skip to content

Commit

Permalink
fixed flex of event-types (#2994)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeerRich authored Jun 7, 2022
1 parent f4f953c commit c3b7b32
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/web/components/eventtype/EventTypeDescription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ export const EventTypeDescription = ({ eventType, className }: EventTypeDescript

return (
<>
<div
className={classNames("flex flex-wrap text-neutral-500 dark:text-white sm:flex-nowrap", className)}>
<div className={classNames("text-neutral-500 dark:text-white", className)}>
{eventType.description && (
<h2 className="max-w-[280px] overflow-hidden text-ellipsis opacity-60 sm:max-w-[500px]">
{eventType.description.substring(0, 100)}
Expand All @@ -62,8 +61,6 @@ export const EventTypeDescription = ({ eventType, className }: EventTypeDescript
{t("1_on_1")}
</li>
)}
</ul>
<ul className="mt-2 flex">
{recurringEvent?.count && recurringEvent.count > 0 && (
<li className="mr-4 flex items-center whitespace-nowrap">
<RefreshIcon className="mr-1.5 inline h-4 w-4 text-neutral-400" aria-hidden="true" />
Expand Down

0 comments on commit c3b7b32

Please sign in to comment.