Skip to content

Commit

Permalink
Merge pull request #229 from XpressAI/fahreza/update-overflow
Browse files Browse the repository at this point in the history
Update Long String Overflow Display
  • Loading branch information
mansouralawi authored Apr 6, 2023
2 parents 166b4ae + dee72f1 commit 951ee1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/port/CustomPortLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ namespace S {
export const Label = styled.div`
padding: 0 5px;
flex-grow: 1;
text-overflow: ellipsis;
white-space: pre-wrap; // Preserve line breaks and wrap text to the next line
overflow:hidden;
max-width: 640px;
max-width: 40ch;
`;

export const SymbolContainer = styled.div<{ symbolType: string; selected: boolean; isOutPort: boolean }>`
Expand Down

0 comments on commit 951ee1f

Please sign in to comment.