We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello Mr CezaryDanielNowak,
I have tried to use your Dotdotdot component like this
<Dotdotdot clamp={2}> hello everyonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRR </Dotdotdot>
And I got:
So, I did the following changes:
const ClampedText = styled(Box)` overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; display: inline-block; white-space: nowrap; -webkit-line-clamp: ${(props) => props.clamp ?? 1}; `; And I used it like that: <ClampedText clamp={2}> hello everyonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRReveryonFRRRRRRRRRRRRRRRR </ClampedText>
And it worked for me:
I only have changed the value of display and have added white-space.
Could you confirm if it is a bug in the component please?
Thx in advance.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello Mr CezaryDanielNowak,
I have tried to use your Dotdotdot component like this
And I got:
So, I did the following changes:
And it worked for me:
I only have changed the value of display and have added white-space.
Could you confirm if it is a bug in the component please?
Thx in advance.
The text was updated successfully, but these errors were encountered: