Skip to content

Commit

Permalink
fix: line overflow issue causing text not to wrap (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnsonMao authored Jun 10, 2024
1 parent 33b9641 commit bcba472
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/Group/detail/OrganizerCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const StyledText = styled.div`
font-weight: 400;
color: #536166;
white-space: pre-wrap;
word-break: break-word;
`;

const StyledTag = styled.div`
Expand Down
1 change: 1 addition & 0 deletions components/Profile/MyGroup/GroupCard.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const StyledText = styled.div`
overflow: hidden;
color: ${(props) => props.color || '#536166'};
font-size: ${(props) => props.fontSize || '14px'};
word-break: break-word;
`;

export const StyledTitle = styled.h2`
Expand Down

0 comments on commit bcba472

Please sign in to comment.