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

[docs-infra] Use text-wrap: pretty #40627

Open
alexfauquette opened this issue Jan 16, 2024 · 1 comment
Open

[docs-infra] Use text-wrap: pretty #40627

alexfauquette opened this issue Jan 16, 2024 · 1 comment
Labels
design This is about UI or UX design, please involve a designer scope: docs-infra Specific to the docs-infra product

Comments

@alexfauquette
Copy link
Member

alexfauquette commented Jan 16, 2024

From https://www.youtube.com/watch?v=cCAtD_BAHNw, text-wrap: pretty seems to make sense https://developer.chrome.com/blog/css-text-wrap-pretty? The performance might be good enough https://docs.google.com/document/d/1jJFD8nAUuiUX6ArFZQqQo8yTsvg8IuAq7oFrNQxPeqI/edit#heading=h.2djo7125fihp.

Should test in the PR that performances are not impacted by the modification

Search keywords:

Screen.Recording.2024-01-15.at.02.38.15.mov
@alexfauquette alexfauquette added the scope: docs-infra Specific to the docs-infra product label Jan 16, 2024
@alexfauquette alexfauquette moved this to Backlog in Docs-infra Jan 16, 2024
@danilo-leal danilo-leal added the design This is about UI or UX design, please involve a designer label Jan 16, 2024
@danilo-leal
Copy link
Contributor

Nice one :) We could also consider text-wrap: balance for headings — it's been getting into newer CSS reset presets out there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design This is about UI or UX design, please involve a designer scope: docs-infra Specific to the docs-infra product
Projects
Status: Backlog
Development

No branches or pull requests

2 participants