diff options
Diffstat (limited to 'src/app/kdrama/components/searchFormatter.jsx')
| -rw-r--r-- | src/app/kdrama/components/searchFormatter.jsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/app/kdrama/components/searchFormatter.jsx b/src/app/kdrama/components/searchFormatter.jsx index cc23fa7..21a52a5 100644 --- a/src/app/kdrama/components/searchFormatter.jsx +++ b/src/app/kdrama/components/searchFormatter.jsx @@ -1,5 +1,3 @@ -"use server"; - import { Card, CardHeader, CardBody } from "@nextui-org/react"; import Link from "next/link"; import Image from "next/image"; @@ -18,7 +16,7 @@ const SearchedDataFormatter = async (data) => { key={index} href={`/kdrama/${encodeURIComponent(item.id)}`} aria-label="anime redirection links" - className="flex flex-col items-center mx-1" + className="mx-1 flex flex-col items-center" title={item.title} > <Card className="overflow-hidden" isPressable> @@ -28,12 +26,12 @@ const SearchedDataFormatter = async (data) => { src={item.image} width={185} height={120} - className="rounded-md h-64" + className="h-64 rounded-md" priority /> </CardBody> <CardHeader> - <h4 className="antialiased text-small text-center uppercase w-44 overflow-hidden whitespace-nowrap text-ellipsis "> + <h4 className="w-44 overflow-hidden text-ellipsis whitespace-nowrap text-center text-small uppercase antialiased"> {item.title} </h4> </CardHeader> |