From 935c747cd18f9b51fa9cda33f9f6dd1aaddf6b30 Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Wed, 8 Apr 2026 03:46:15 +0530 Subject: [PATCH] style: update profile image object positioning and fix checkbox alignment in filter modal --- src/app/(user)/user/profiles/page.tsx | 4 ++-- src/components/profiles/FilterModal.tsx | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/(user)/user/profiles/page.tsx b/src/app/(user)/user/profiles/page.tsx index 1502fad..4088d20 100644 --- a/src/app/(user)/user/profiles/page.tsx +++ b/src/app/(user)/user/profiles/page.tsx @@ -76,7 +76,7 @@ function ProfileImage({ src, alt, className }: { src: string | null; alt: string ref={(el) => { if (el?.complete) setStatus(el.naturalWidth > 0 ? 'loaded' : 'error'); }} src={src} alt={alt} - className={`w-full h-full object-cover transition-opacity duration-300 ${status === 'loaded' ? 'opacity-100' : 'opacity-0'}`} + className={`w-full h-full object-cover object-top transition-opacity duration-300 ${status === 'loaded' ? 'opacity-100' : 'opacity-0'}`} onLoad={() => setStatus('loaded')} onError={() => setStatus('error')} /> @@ -274,7 +274,7 @@ function ProfileCard({ profile, resolvedAvatarUrl }: ProfileCardProps) {