Skip to content

Commit

Permalink
Design: 프로필 수정 페이지 image object-fit 속성 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaeYubin committed Aug 9, 2024
1 parent d696e98 commit 6a64f80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/containers/my/MyProfileEditForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import { cn } from '@/utils/tailwind';
import { useQueryClient } from '@tanstack/react-query';
import { UserInfo } from '@/types/user';
import CustomAlert from '@/components/CustomAlert';
import { Pen, PenBox } from 'lucide-react';

const MyProfileEditForm = () => {
const [imageSizeAlertOpen, setImageSizeAlertOpen] = useState(false);
Expand Down Expand Up @@ -267,7 +266,7 @@ const MyProfileEditForm = () => {
>
<AvatarImage
src={formData.profileImageFile || '/images/default_profile.png'}
className="rounded-full"
className="rounded-full object-cover"
/>
<div
className="absolute bottom-0 left-1/2 -translate-x-1/2 bg-primary w-24 text-center text-xs py-1 text-white font-semibold"
Expand Down

0 comments on commit 6a64f80

Please sign in to comment.