Tags on thumbnails smaller

This commit is contained in:
austinkelsay 2024-10-13 19:45:25 -05:00
parent 22e08ec5fd
commit f60fa03d4a
3 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ export function CourseTemplate({ course }) {
<CardContent className={`${isMobile ? "px-3" : ""} pt-6 pb-2 w-full flex flex-row justify-between items-center`}>
<div className="flex flex-wrap gap-2 max-w-[50%]">
{course && course.topics && course.topics.map((topic, index) => (
<Tag key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
<Tag size="small" key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
{topic}
</Tag>
))}

View File

@ -70,7 +70,7 @@ export function DocumentTemplate({ document }) {
<CardContent className={`${isMobile ? "px-3" : ""} pt-6 pb-2 w-full flex flex-row justify-between items-center`}>
<div className="flex flex-wrap gap-2 max-w-[50%]">
{document?.topics?.map((topic, index) => (
<Tag key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
<Tag size="small" key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
{topic}
</Tag>
))}

View File

@ -72,7 +72,7 @@ export function VideoTemplate({ video }) {
<CardContent className={`${isMobile ? "px-3" : ""} pt-6 pb-2 w-full flex flex-row justify-between items-center`}>
<div className="flex flex-wrap gap-2 max-w-[50%]">
{video?.topics?.map((topic, index) => (
<Tag key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
<Tag size="small" key={index} className="px-3 py-1 text-sm text-[#f8f8ff]">
{topic}
</Tag>
))}