Skip to content

Commit

Permalink
♻️refactor: Contents.style.js - 글자 수 넘치면 ...으로 변경되도록 리팩토링
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinHeeEul committed Jun 20, 2024
1 parent 976d803 commit 3826b65
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/pages/main/contents-item/Contents.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,14 @@ export const Contents = styled.div`
`;

// Title & SubTitle & MiniTitle
export const StyledContentsTitle = styled.div``;
export const StyledContentsTitle = styled.div`
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
font-size: 18px;
width: 10vw;
`;
export const StyledContentsSubTitle = styled.div``;
export const StyledContentsMiniTitle = styled.div`
display: flex;
Expand Down

0 comments on commit 3826b65

Please sign in to comment.