Change max w

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

View File

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

View File

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

View File

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