Skip to content
New issue

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

Ellipsis support in Text #1439

Open
linusha opened this issue Apr 24, 2024 · 0 comments
Open

Ellipsis support in Text #1439

linusha opened this issue Apr 24, 2024 · 0 comments
Assignees
Labels

Comments

@linusha
Copy link
Contributor

linusha commented Apr 24, 2024

I experimented with this. We only need to wrap each line in an outer span and set the width of that outer span using display: block. Then we can use text-overflow on that outer span.
This is only relevant for non-interactive, statically rendered text.

@linusha linusha self-assigned this Apr 24, 2024
@linusha linusha added the ✨ enhancement New feature or request label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant