canonical / vanilla-framework

From community websites to web applications, this CSS framework will help you achieve a consistent look and feel.
https://vanillaframework.io
GNU Lesser General Public License v3.0
841 stars 167 forks source link

Document orphan best practice and recommend manual solutions #4832

Open lyubomir-popov opened 1 year ago

lyubomir-popov commented 1 year ago

It would be good to document that orphans (single words wrapping) is undesirable, and can be avoided by inserting  s between the last few words of a heading/anypiece of text.

Related issue: https://warthogs.atlassian.net/browse/WD-5132

gerwitz commented 1 year ago

There must be a way to automate the rules, as well? Eg. I've used this SSG plugin on large-scale sites with no issues. (A web search for "widont" might help find something useful for our tools.)

bartaz commented 1 year ago

Great suggestions @gerwitz thanks. Couldn't find anything directly for Flask/Jinja that we use for templating, but this one looks promising: https://pypi.org/project/typogrify/

While it's not something we can directly provide from Vanilla, we can spread a word about tools like this.

bartaz commented 1 month ago

We recently started using text wrap pretty value that in most cases solves this issue on the browser level (if it's supported).

syncronize-issues-to-jira[bot] commented 1 month ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/WD-15235.

This message was autogenerated

bartaz commented 1 month ago

Triage: for consideration in new architecture.