Line clamp event type bio (#10795)

This commit is contained in:
sean-brydon 2023-08-16 09:59:42 +01:00 committed by GitHub
parent 56ba8c0a07
commit 7c23773636
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ export const EventTypeDescription = ({
{eventType.description && (
<div
className={classNames(
"text-subtle max-w-[280px] break-words py-1 text-sm sm:max-w-[650px] [&_a]:text-blue-500 [&_a]:underline [&_a]:hover:text-blue-600",
"text-subtle line-clamp-3 max-w-[280px] break-words py-1 text-sm sm:max-w-[650px] [&_a]:text-blue-500 [&_a]:underline [&_a]:hover:text-blue-600",
shortenDescription ? "line-clamp-4" : ""
)}
dangerouslySetInnerHTML={{