Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
amrelbialy committed Nov 27, 2024
2 parents 3497b29 + 808cb07 commit eb5f1c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const EllipsedText = intrinsicComponent<EllipsedTextProps, HTMLDivElement>(
</Styled.EllipsedTextWrapper>
);

return textSuffix ? (
return textSuffix && shouldEllipse ? (
<Styled.EllipsedTextContainer>
{renderEllipsedText()}
<Styled.SuffixTextWrapper>{getTextSuffix(textSuffix)}</Styled.SuffixTextWrapper>
Expand Down
1 change: 1 addition & 0 deletions packages/ui/src/core/ellipsed-text/ellipsed-text.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const TooltipContent = styled.div.attrs({
const SuffixTextWrapper = styled.div.attrs({
className: generateClassNames(baseClassName, 'suffix-text-wrapper'),
})`
word-break: normal;
display: flex;
justify-content: flex-end;
flex-direction: column;
Expand Down

0 comments on commit eb5f1c2

Please sign in to comment.