mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-04 08:12:02 +00:00
Max width on thumbnail descriptions
This commit is contained in:
parent
f60fa03d4a
commit
5d559f772e
@ -88,7 +88,7 @@ export function CourseTemplate({ course }) {
|
||||
</div>
|
||||
<p className="font-bold text-gray-300 min-w-[5%]">{lessonCount} {lessonCount === 1 ? "lesson" : "lessons"}</p>
|
||||
</CardContent>
|
||||
<CardDescription className={`${isMobile ? "p-3" : "p-6"} py-2 pt-0 text-base text-neutral-50/90 dark:text-neutral-900/90 overflow-hidden min-h-[4em] flex items-center`}
|
||||
<CardDescription className={`${isMobile ? "p-3" : "p-6"} py-2 pt-0 text-base text-neutral-50/90 dark:text-neutral-900/90 overflow-hidden min-h-[4em] flex items-center max-w-[50%]`}
|
||||
style={{
|
||||
overflow: "hidden",
|
||||
display: "-webkit-box",
|
||||
|
@ -77,7 +77,7 @@ export function DocumentTemplate({ document }) {
|
||||
</div>
|
||||
<p className="font-bold text-gray-300 min-w-[5%]">{document?.readTime || "5 min"} read</p>
|
||||
</CardContent>
|
||||
<CardDescription className={`${isMobile ? "p-3" : "p-6"} py-2 pt-0 text-base text-neutral-50/90 dark:text-neutral-900/90 overflow-hidden min-h-[4em] flex items-center`}
|
||||
<CardDescription className={`${isMobile ? "p-3" : "p-6"} py-2 pt-0 text-base text-neutral-50/90 dark:text-neutral-900/90 overflow-hidden min-h-[4em] flex items-center max-w-[50%]`}
|
||||
style={{
|
||||
overflow: "hidden",
|
||||
display: "-webkit-box",
|
||||
|
@ -79,7 +79,7 @@ export function VideoTemplate({ video }) {
|
||||
</div>
|
||||
<p className="font-bold text-gray-300 min-w-[5%]">{video?.duration || "5 min"} watch</p>
|
||||
</CardContent>
|
||||
<CardDescription className={`${isMobile ? "p-3" : "p-6"} py-2 pt-0 text-base text-neutral-50/90 dark:text-neutral-900/90 overflow-hidden min-h-[4em] flex items-center`}
|
||||
<CardDescription className={`${isMobile ? "p-3" : "p-6"} py-2 pt-0 text-base text-neutral-50/90 dark:text-neutral-900/90 overflow-hidden min-h-[4em] flex items-center max-w-[50%]`}
|
||||
style={{
|
||||
overflow: "hidden",
|
||||
display: "-webkit-box",
|
||||
|
Loading…
x
Reference in New Issue
Block a user