File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,14 +38,14 @@ function ProjectCard({
3838 < p className = "text-muted-foreground text-lg" >
3939 { project . description }
4040 </ p >
41- < div className = "flex gap-3 mt-auto" >
42- < Button asChild className = "group/btn" >
41+ < div className = "flex flex-col sm:flex-row gap-3 mt-auto" >
42+ < Button asChild className = "group/btn w-full sm:w-auto " >
4343 < Link href = { `/${ project . id } /docs` } >
4444 View Docs
4545 < ArrowRight className = "w-4 h-4 ml-2 transition-transform group-hover/btn:translate-x-1" />
4646 </ Link >
4747 </ Button >
48- < Button asChild variant = "secondary" >
48+ < Button asChild variant = "secondary" className = "w-full sm:w-auto" >
4949 < Link href = { `/${ project . id } ` } > Home</ Link >
5050 </ Button >
5151 </ div >
@@ -63,11 +63,11 @@ function ProjectCard({
6363 < h3 className = "text-lg font-semibold" > { project . name } </ h3 >
6464 </ div >
6565 < p className = "text-muted-foreground text-sm" > { project . description } </ p >
66- < div className = "flex gap-3 mt-auto" >
67- < Button asChild variant = "default" size = "sm" >
66+ < div className = "flex flex-col sm:flex-row gap-3 mt-auto" >
67+ < Button asChild variant = "default" size = "sm" className = "w-full sm:w-auto" >
6868 < Link href = { `/${ project . id } /docs` } > Docs</ Link >
6969 </ Button >
70- < Button asChild variant = "secondary" size = "sm" >
70+ < Button asChild variant = "secondary" size = "sm" className = "w-full sm:w-auto" >
7171 < Link href = { `/${ project . id } ` } > Home</ Link >
7272 </ Button >
7373 </ div >
You can’t perform that action at this time.
0 commit comments