Fix/event type button alignment (#765)

* fixed event-type buttons on mobile, added more font-cal classes

* remove 1-on-1 on mobile event types

Co-authored-by: Bailey Pumfleet <[email protected]>
This commit is contained in:
Peer RichelsenandBailey Pumfleet authored and GitHub committed 2021-09-24 15:11:15 +00:00
1 parent 6a4d6c7eba
commit 63930c1817
1 file changed
+2 -2
@@ -38,13 +38,13 @@ export const EventTypeDescription = ({ eventType, className }: EventTypeDescript
{eventType.length}m
</li>
{eventType.schedulingType ? (
<li className="flex whitespace-nowrap">
<li className="hidden sm:flex whitespace-nowrap">
<UsersIcon className="inline mt-0.5 mr-1.5 h-4 w-4 text-neutral-400" aria-hidden="true" />
{eventType.schedulingType === SchedulingType.ROUND_ROBIN && "Round Robin"}
{eventType.schedulingType === SchedulingType.COLLECTIVE && "Collective"}
</li>
) : (
<li className="flex whitespace-nowrap">
<li className="hidden sm:flex whitespace-nowrap">
<UserIcon className="inline mt-0.5 mr-1.5 h-4 w-4 text-neutral-400" aria-hidden="true" />
1-on-1
</li>