added margin bottom to event-types (#3048)

This commit is contained in:
Peer Richelsen 2022-06-13 13:25:49 +02:00 committed by GitHub
parent 0a308eb13d
commit 5c3d399ccb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

@ -1 +1 @@
Subproject commit 30e1b65dbc762b9737aa1516a3d87c697f06cbea
Subproject commit 28e6c33108c25603180bdd6c47a605fcb7623d3e

View File

@ -45,24 +45,24 @@ export const EventTypeDescription = ({ eventType, className }: EventTypeDescript
</h2>
)}
<ul className="mt-2 flex flex-wrap sm:flex-nowrap">
<li className="mr-4 flex items-center whitespace-nowrap">
<li className="mr-4 mb-1 flex items-center whitespace-nowrap">
<ClockIcon className="mr-1.5 inline h-4 w-4 text-neutral-400" aria-hidden="true" />
{eventType.length}m
</li>
{eventType.schedulingType ? (
<li className="mr-4 flex items-center whitespace-nowrap">
<li className="mr-4 mb-1 flex items-center whitespace-nowrap">
<UsersIcon className="mr-1.5 inline h-4 w-4 text-neutral-400" aria-hidden="true" />
{eventType.schedulingType === SchedulingType.ROUND_ROBIN && t("round_robin")}
{eventType.schedulingType === SchedulingType.COLLECTIVE && t("collective")}
</li>
) : (
<li className="mr-4 flex items-center whitespace-nowrap">
<li className="mr-4 mb-1 flex items-center whitespace-nowrap">
<UserIcon className="mr-1.5 inline h-4 w-4 text-neutral-400" aria-hidden="true" />
{t("1_on_1")}
</li>
)}
{recurringEvent?.count && recurringEvent.count > 0 && (
<li className="mr-4 flex items-center whitespace-nowrap">
<li className="mr-4 mb-1 flex items-center whitespace-nowrap">
<RefreshIcon className="mr-1.5 inline h-4 w-4 text-neutral-400" aria-hidden="true" />
{t("repeats_up_to", {
count: recurringEvent.count,
@ -70,7 +70,7 @@ export const EventTypeDescription = ({ eventType, className }: EventTypeDescript
</li>
)}
{eventType.price > 0 && (
<li className="mr-4 flex items-center whitespace-nowrap">
<li className="mr-4 mb-1 flex items-center whitespace-nowrap">
<CreditCardIcon className="mr-1.5 inline h-4 w-4 text-neutral-400" aria-hidden="true" />
<IntlProvider locale="en">
<FormattedNumber
@ -82,7 +82,7 @@ export const EventTypeDescription = ({ eventType, className }: EventTypeDescript
</li>
)}
{eventType.requiresConfirmation && (
<li className="mr-4 flex items-center whitespace-nowrap">
<li className="mr-4 mb-1 flex items-center whitespace-nowrap">
<ClipboardCheckIcon className="mr-1.5 inline h-4 w-4 text-neutral-400" aria-hidden="true" />
{t("requires_confirmation")}
</li>