hide slug event-types on mobile (#1426)

pull/1433/head
Peer Richelsen 2022-01-06 22:13:38 +00:00 committed by GitHub
parent 6e7359ae96
commit e93b7d942a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ const EventTypeList = ({ readOnly, types, profile }: EventTypeListProps): JSX.El
title={`${type.title} ${type.description ? ` ${type.description}` : ""}`}>
<div>
<span className="font-medium truncate text-neutral-900">{type.title} </span>
<small className="text-neutral-500">{`/${profile.slug}/${type.slug}`}</small>
<small className="hidden sm:inline text-neutral-500">{`/${profile.slug}/${type.slug}`}</small>
{type.hidden && (
<span className="ml-2 inline items-center px-1.5 py-0.5 rounded-sm text-xs font-medium bg-yellow-100 text-yellow-800">
{t("hidden")}