fix: Safari overflowing issues (#11385)

This commit is contained in:
sean-brydon authored and GitHub committed 2023-09-15 15:57:49 +02:00
1 parent 4724b1312c
commit c188a91d64
2 files changed
+2 -2

No files matched your search

@@ -47,7 +47,7 @@ export const EventTypeDescription = ({
<div
className={classNames(
"text-subtle line-clamp-3 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" : ""
shortenDescription ? "line-clamp-4 [&>*:not(:first-child)]:hidden" : ""
)}
dangerouslySetInnerHTML={{
__html: eventType.descriptionAsSafeHTML || "",