max-w on description again

This commit is contained in:
austinkelsay 2024-10-14 09:40:06 -05:00
parent 6704b695d7
commit 7804d66800

View File

@ -86,7 +86,7 @@ export function VideoTemplate({ video }) {
WebkitLineClamp: "2"
}}>
<div className="w-full flex flex-row justify-between items-start max-w-[100%]">
<p className="line-clamp-2 break-words">{(video.summary || video.description)?.split('\n').map((line, index) => (
<p className="line-clamp-2 break-words max-w-[70%]">{(video.summary || video.description)?.split('\n').map((line, index) => (
<span key={index}>{line}</span>
))}</p>
<div className="flex flex-col items-end">