Skip to content

Commit

Permalink
fix: Dialog 말줄임 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
miro-ring committed Mar 22, 2024
1 parent e873081 commit 74b2d80
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Layout/components/ProfileButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const ProfileButton = () => {
<Dropdown.List>
<Dropdown.Title>
<Icon icon="profileDialog" width={40} height={40} />
<span className={styles.profileName}>{data?.nickname}</span>
<span className={styles.profileName}>{data?.nickname}</span>
</Dropdown.Title>
<Dropdown.Item
onClick={() => router.push('/profile')}
Expand Down
4 changes: 4 additions & 0 deletions src/components/Layout/style.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ export const profileName = style([
verticalAlign: 'middle',
display: 'inline-block',
marginLeft: '8px',
whiteSpace: 'nowrap',
overflow: 'hidden',
maxWidth: '112px',
textOverflow: 'ellipsis',
},
]);

Expand Down

0 comments on commit 74b2d80

Please sign in to comment.