Skip to content

Commit

Permalink
style: fix user-info department overflow issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yougyung committed Sep 11, 2024
1 parent 925b017 commit 7d93ec3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/ui/user/user-info-navigator/user-info-navigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ function formatUserInfo(userInfo: InitUserInfoResponse | UserInfoResponse | unde
if (!userInfo) {
return {
name: '소중한 GUEST',
major: '성적표를 입력하고, 졸업 여부를 확인하세요',
major: '성적표 입력 후, 졸업 여부를 확인해요',
studentNumber: '',
};
}

if (isInitUser(userInfo)) {
return {
name: '명지인',
major: '성적표를 입력하고, 졸업 여부를 확인하세요',
major: '성적표 입력 후, 졸업 여부를 확인해요',
studentNumber: userInfo.studentNumber,
};
}
Expand All @@ -36,7 +36,7 @@ export default async function UserInfoNavigator() {

return (
<div className="flex md:flex-col items-center md:p-4 space-x-4 md:space-x-0">
<Avatar className="w-20 h-20 md:w-24 md:h-24" alt="Profile picture" src={'/assets/profile-image.png'} />
<Avatar className="w-16 h-16 md:w-24 md:h-24" alt="Profile picture" src={'/assets/profile-image.png'} />
<div className="flex flex-col items-start md:items-center">
<div className="md:my-5 md:text-lg ">
<span className="font-semibold">{userInfo.name}</span>
Expand Down

0 comments on commit 7d93ec3

Please sign in to comment.