Skip to content

Commit

Permalink
updated styling of project-card
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcio2115 committed Sep 8, 2024
1 parent 186bf85 commit 7ea333d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions apps/web/src/components/dashboard/project-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ export default function VideoCard({ project }: ProjectCardProps) {
const { data: channel } = useChannelSuspenseQuery(project.channelId);

return (
<div className="max-w-[350px] sm:max-w-96 mx-auto">
<div className="mx-auto max-w-96">
<Link
href={`/dashboard/${name}/project/${project.id}`}
className="flex items-center max-h-min flex-col gap-2"
>
<div className="h-60 w-[320px] sm:w-96 rounded-lg overflow-hidden">
<div className="rounded-lg overflow-hidden">
<Image
className="h-60 w-[320px] sm:w-96"
alt="project thumbnail"
src={video.snippet?.thumbnails?.standard?.url ?? ""}
width={video.snippet?.thumbnails?.standard?.width ?? 320}
Expand Down

0 comments on commit 7ea333d

Please sign in to comment.