Skip to content

Add style to disable soft wrapping (text-wrap-mode: nowrap) #328

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

Open
nicoburns opened this issue Apr 2, 2025 · 0 comments · May be fixed by #367
Open

Add style to disable soft wrapping (text-wrap-mode: nowrap) #328

nicoburns opened this issue Apr 2, 2025 · 0 comments · May be fixed by #367
Labels
enhancement New feature or request

Comments

@nicoburns
Copy link
Contributor

nicoburns commented Apr 2, 2025

Parley currently always wraps text is it overflows the max-advance. We should add a style that disables soft-wrapping for a span of text.

CSS calls this text-wrap-mode (https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap-mode). Parley currently always behaves as if text-wrap-mode: wrap. We should implement text-wrap-mode: nowrap or equivalent functionality.

@nicoburns nicoburns added the enhancement New feature or request label Apr 2, 2025
@nicoburns nicoburns changed the title Add style to disable soft wrapping Add style to disable soft wrapping (text-wrap: nowrap) Apr 2, 2025
@nicoburns nicoburns changed the title Add style to disable soft wrapping (text-wrap: nowrap) Add style to disable soft wrapping (text-wrap-mode: nowrap) May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant