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

[Bug]: Lettre (newsletter theme) — long single word titles get cut easily #6492

Closed
simison opened this issue Sep 1, 2022 · 5 comments
Closed
Assignees
Labels
[Type] Bug Something isn't working

Comments

@simison
Copy link
Member

simison commented Sep 1, 2022

Quick summary

Even a bit longer single word texts get cut out easily, and not split to multiple lines due lack of spaces:

image

image

Might not happen in English that often, but in some other languages (like Finnish, German, Swedish) where long words are common this could happen more frequently.

Is it worth making the text slightly smaller on narrow screens?

Steps to reproduce

You can test longer terms in https://horizon.wordpress.com/setup/?flow=newsletter and check the mobile preview at launchpad.

What you expected to happen

Smaller text or auto-hyphen.

Tested above example with hyphens: auto; and lang="fi", slightly better — could work better for English or German:

image

What actually happened

Cut out.

Browser

No response

Context

No response

Platform (Simple, Atomic, or both?)

No response

Other notes

No response

Reproducibility

Consistent

Severity

No response

Available workarounds?

No response

Workaround details

No response

cc @mtias

@simison simison added [Type] Bug Something isn't working Needs triage labels Sep 1, 2022
@simison
Copy link
Member Author

simison commented Sep 1, 2022

Matías noted:

Should probably just be using the new fluid type flag

@simison
Copy link
Member Author

simison commented Sep 1, 2022

Similar issue with newsletter archive post titles on homepage:

image

The mobile viewport width in examples is kinda extreme 320px, while higher end phones are wider than that. But still!

@mikachan
Copy link
Member

mikachan commented Sep 6, 2022

I've created a potential fix for this here: D87131-code

@mikachan
Copy link
Member

mikachan commented Sep 8, 2022

Closing as D87131-code has been deployed.

@mikachan mikachan closed this as completed Sep 8, 2022
@mtias
Copy link
Member

mtias commented Sep 10, 2022

Thanks @mikachan !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants