style(ui): update template selection view

This commit is contained in:
MD Mahbub Hasan
2024-10-28 01:40:26 +06:00
parent 3808fd83a6
commit 7d882b3df5

View File

@@ -54,6 +54,7 @@ import { cn } from "@/lib/utils";
import { api } from "@/utils/api"; import { api } from "@/utils/api";
import { ScrollArea } from "@radix-ui/react-scroll-area"; import { ScrollArea } from "@radix-ui/react-scroll-area";
import { import {
BookText,
CheckIcon, CheckIcon,
ChevronsUpDown, ChevronsUpDown,
Code, Code,
@@ -249,7 +250,7 @@ export const AddTemplate = ({ projectId }: Props) => {
"text-sm text-muted-foreground p-3 rounded-full hover:bg-border items-center flex transition-colors" "text-sm text-muted-foreground p-3 rounded-full hover:bg-border items-center flex transition-colors"
} }
> >
<Globe className="size-4 text-muted-foreground" /> <BookText className="size-4 text-muted-foreground" />
</Link> </Link>
)} )}
<Link <Link
@@ -369,7 +370,7 @@ export const AddTemplate = ({ projectId }: Props) => {
</AlertDialog> </AlertDialog>
</div> </div>
<p className="text-sm text-muted-foreground"> <p className="text-sm text-muted-foreground line-clamp-3">
{template.description} {template.description}
</p> </p>
</div> </div>