mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 19:01:19 +00:00
max w on description div
This commit is contained in:
parent
afb6515b42
commit
6d9ac6f46d
@ -95,7 +95,7 @@ export function CourseTemplate({ course }) {
|
||||
WebkitBoxOrient: "vertical",
|
||||
WebkitLineClamp: "2"
|
||||
}}>
|
||||
<div className="w-full flex flex-row justify-between items-start">
|
||||
<div className="w-full flex flex-row justify-between items-start max-w-[100%]">
|
||||
<p className="line-clamp-2">{(course.summary || course.description)?.split('\n').map((line, index) => (
|
||||
<span key={index}>{line}</span>
|
||||
))}</p>
|
||||
|
@ -84,7 +84,7 @@ export function DocumentTemplate({ document }) {
|
||||
WebkitBoxOrient: "vertical",
|
||||
WebkitLineClamp: "2"
|
||||
}}>
|
||||
<div className="w-full flex flex-row justify-between items-start">
|
||||
<div className="w-full flex flex-row justify-between items-start max-w-[100%]">
|
||||
<p className="line-clamp-2">{(document.summary || document.description)?.split('\n').map((line, index) => (
|
||||
<span key={index}>{line}</span>
|
||||
))}</p>
|
||||
|
@ -85,7 +85,7 @@ export function VideoTemplate({ video }) {
|
||||
WebkitBoxOrient: "vertical",
|
||||
WebkitLineClamp: "2"
|
||||
}}>
|
||||
<div className="w-full flex flex-row justify-between items-start">
|
||||
<div className="w-full flex flex-row justify-between items-start max-w-[100%]">
|
||||
<p className="line-clamp-2">{(video.summary || video.description)?.split('\n').map((line, index) => (
|
||||
<span key={index}>{line}</span>
|
||||
))}</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user