Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: user preview card title (#1985)
Browse files Browse the repository at this point in the history
Changed text size from text-2xl to text-xl
  • Loading branch information
k99sharma committed Oct 20, 2022
1 parent b167ab4 commit 9feafa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/user/UserPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FallbackImage } from "../FallbackImage";
export default function UserPreview({ profile }) {
return (
<Link href={`/${profile.username}`}>
<a className="flex flex-col gap-x-6 rounded md:rounded-full md:flex-row border-2 border-gray-200 hover:border-gray-500 p-4 my-2">
<a className="flex flex-col gap-x-4 rounded md:rounded-full md:flex-row border-2 border-gray-200 hover:border-gray-500 p-4 my-2">
<div className="flex items-center gap-5">
<div className="min-w-[5rem]">
<FallbackImage
Expand All @@ -16,7 +16,7 @@ export default function UserPreview({ profile }) {
fallback={profile.name}
/>
</div>
<h3 className="text-2xl font-bold md:hidden">
<h3 className="text-xl font-bold md:hidden">
{profile.name} {profile.views && <span>({profile.views})</span>}
</h3>
</div>
Expand Down

0 comments on commit 9feafa7

Please sign in to comment.