mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 19:01:19 +00:00
remove sm:h to test
This commit is contained in:
parent
f6b75c4670
commit
c7a4befe73
@ -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">
|
||||
|
@ -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">
|
||||
|
@ -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">
|
||||
|
Loading…
x
Reference in New Issue
Block a user