fix: truncate event type description instead of title

pull/361/head
Egor Zaitsev 2021-07-14 12:58:08 +03:00
parent 793351fe96
commit cb3c23e9b0
1 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,8 @@ export default function Home(props) {
<div className="min-w-0 flex-1 sm:flex sm:items-center sm:justify-between">
<div className="truncate">
<div className="flex text-sm">
<p className="font-medium text-blue-600 truncate">{type.title}</p>
<p className="ml-1 flex-shrink-0 font-normal text-gray-500">
<p className="flex-shrink-0 font-medium text-blue-600 truncate">{type.title}</p>
<p className="ml-1 font-normal text-gray-500 truncate">
in {type.description}
</p>
</div>