Skip to content

Commit

Permalink
Merge pull request #241 from ttaerrim/sidebar-label
Browse files Browse the repository at this point in the history
[Design] 모각코 사이드바 제목 디자인 조정
  • Loading branch information
ttaerrim authored Nov 30, 2023
2 parents 4616a2d + a82e6f0 commit 5b2b188
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/frontend/src/components/Label/index.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const container = recipe({
minWidth: '3.5rem',
padding: '0.4rem 1.5rem',
borderRadius: '100rem',
whiteSpace: 'pre',
},

variants: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ResponseMogacoDto } from '@morak/apitype';

import { Label } from '@/components';
import { sansBold24 } from '@/styles/font.css';

import * as styles from './index.css';

Expand All @@ -14,7 +13,7 @@ export function TitleWrapper({
<Label theme="primary" shape="fill">
{status}
</Label>
<span className={sansBold24}>{title}</span>
<span className={styles.title}>{title}</span>
</div>
);
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { style } from '@vanilla-extract/css';

import { vars } from '@/styles';
import { sansRegular12 } from '@/styles/font.css';
import { sansBold24, sansRegular12 } from '@/styles/font.css';

export const container = style({
display: 'flex',
Expand Down Expand Up @@ -42,9 +42,14 @@ export const infoWrapper = style({
flexDirection: 'column',
gap: '0.4rem',
});
export const title = style([
sansBold24,
{ overflow: 'hidden', whiteSpace: 'nowrap', textOverflow: 'ellipsis' },
]);
export const titleWrapper = style({
display: 'flex',
gap: '0.4rem',
alignItems: 'center',
});
export const wrapper = style({
display: 'flex',
Expand Down

0 comments on commit 5b2b188

Please sign in to comment.