hide slug event-types on mobile (#1426)
parent
6e7359ae96
commit
e93b7d942a
|
@ -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")}
|
||||
|
|
Loading…
Reference in New Issue