fix: mobile fix
This commit is contained in:
@@ -7,8 +7,8 @@ import { formatDate } from "@/lib/utils";
|
||||
export function NewsCard({ news }: { news: PagePublic }) {
|
||||
return (
|
||||
<div className="flex flex-col gap-1">
|
||||
<Link href={`/news/${news.slug}`} className="w-max">
|
||||
<h2 className="hover:underline underline-offset-8 decoration-2 cursor-pointer">{news.title}</h2>
|
||||
<Link href={`/news/${news.slug}`} className="max-w-vh">
|
||||
<h2 className="hover:underline underline-offset-8 decoration-2 cursor-pointer truncate">{news.title}</h2>
|
||||
</Link>
|
||||
<div className="flex flex-col md:flex-row gap-2 md:gap-8 md:items-center">
|
||||
<div className="flex flex-row gap-4 md:gap-8">
|
||||
|
||||
Reference in New Issue
Block a user