Skip to content

Commit 44b410c

Browse files
authored
Merge pull request #39 from OpenKetchupSource/feat/33
style: 태그 스타일 개선 및 레이아웃 수정
2 parents 10bd9ab + d718074 commit 44b410c

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

src/components/home/DiaryList.tsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,19 @@ export const DiaryTitle = styled.div`
9393

9494
export const TagWrapper = styled.div`
9595
display: flex;
96-
gap: 8px;
97-
font-size: 14px;
98-
color: #3b82f6;
96+
flex-wrap: nowrap;
97+
overflow: hidden;
98+
white-space: nowrap;
99+
text-overflow: ellipsis;
99100
margin-bottom: 8px;
100101
`;
101102

102-
export const Tag = styled.span``;
103+
export const Tag = styled.span`
104+
font-size: 14px;
105+
color: #3b82f6;
106+
margin-right: 8px;
107+
flex-shrink: 0;
108+
`;
103109

104110
export const Content = styled.div`
105111
font-size: 14px;

0 commit comments

Comments
 (0)