remove sm:h to test

This commit is contained in:
austinkelsay 2024-10-13 20:43:22 -05:00
parent f6b75c4670
commit c7a4befe73
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

@ -47,7 +47,7 @@ export function VideoTemplate({ video }) {
return (
<Card className="overflow-hidden group hover:shadow-xl transition-all duration-300 bg-gray-800 m-2 border-none">
<div className="relative h-48 sm:h-64">
<div className="relative h-48">
<Image
src={returnImageProxy(video.image)}
alt="Video background"
@ -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 max-w-[60%]">{(video.summary || video.description)?.split('\n').map((line, index) => (
<p className="line-clamp-2 break-words">{(video.summary || video.description)?.split('\n').map((line, index) => (
<span key={index}>{line}</span>
))}</p>
<div className="flex flex-col items-end">