Skip to content

Commit

Permalink
πŸ’„ μ°Έμ—¬μž 수λ₯Ό 제λͺ©κ³Ό 같은 쀄에 ν‘œμ‹œ
Browse files Browse the repository at this point in the history
- μ΄ˆλŒ€ μ½”λ“œ ν…μŠ€νŠΈμ— ellipsis μŠ€νƒ€μΌ 적용
  • Loading branch information
js43o committed Mar 8, 2024
1 parent 7a1a58e commit 4030925
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
22 changes: 11 additions & 11 deletions app/frontend/src/components/Group/index.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,20 @@ export const code = style([
alignItems: 'center',
gap: '0.8rem',
color: grayscale200,
whiteSpace: 'nowrap',
},
]);

export const codeString = style({
display: 'flex',
fontWeight: 'normal',
borderLeft: `2px solid ${grayscale100}`,
paddingLeft: `0.8rem`,

'@media': {
'screen and (max-width:320px)': {
display: 'none',
},
export const codeString = style([
sansRegular16,
{
paddingLeft: `0.8rem`,
borderLeft: `2px solid ${grayscale100}`,
overflow: 'hidden',
whiteSpace: 'nowrap',
textOverflow: 'ellipsis',
},
});
]);

export const container = style({
display: 'flex',
Expand Down Expand Up @@ -82,6 +81,7 @@ export const membersCount = style([
alignItems: 'center',
gap: '0.4rem',
color: grayscale200,
marginLeft: '0.4rem',
},
]);

Expand Down
8 changes: 4 additions & 4 deletions app/frontend/src/components/Group/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ export function Group({
{owned && <Crown />}
<div className={styles.title}>{name}</div>
{closed && <Lock width={24} height={24} fill={grayscale200} />}
<div className={styles.membersCount}>
<People width={16} height={16} fill={grayscale200} />
<span>{membersCount}</span>
</div>
</div>
<GroupButton id={id} closed={closed} joined={joined} owned={owned} />
</div>
<div className={styles.membersCount}>
<People width={16} height={16} fill={grayscale200} />
<span>{membersCount}</span>
</div>
{accessCode && (
<div className={styles.code}>
<span>μ΄ˆλŒ€ μ½”λ“œ</span>
Expand Down

0 comments on commit 4030925

Please sign in to comment.