Skip to content

Commit

Permalink
chore: 제목없을때 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
juno7803 committed Oct 28, 2023
1 parent 5b8e91c commit 0fc6a5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/components/feed/main/feedCard/FeedCard.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,10 @@ export const 제목겁나길때 = {
'제목이 겁나 길어서 두 줄로 줄바꿈 될 뿐만 아니라, 말줄임표까지 생기게 하는게 제 목표에요. 당근이는 귀엽지만, 그래도 춘식이에 비하면 그냥 토끼옷을 입은 강아지일 뿐이에요.',
},
} satisfies Story;

export const 제목없을때 = {
args: {
...Default.args,
title: '',
},
} satisfies Story;
1 change: 0 additions & 1 deletion src/components/feed/main/feedCard/FeedCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ const Title = styled(Text)`
overflow: hidden;
text-overflow: ellipsis;
line-height: 22px;
height: 44px;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
`;
Expand Down

0 comments on commit 0fc6a5a

Please sign in to comment.