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

word breaking in notifier #2210

Merged
merged 1 commit into from
Dec 18, 2017
Merged

word breaking in notifier #2210

merged 1 commit into from
Dec 18, 2017

Conversation

alexcjohnson
Copy link
Collaborator

Fixes #2201
Break and hyphenate (in some browsers) long words. Not needed for English, but potentially important for eg German (long compound words?) and maybe asian languages with no spaces between word characters.

Chrome - regular words:
chrome words
long words:
chrome long

FF - regular words:
ff words
long words:
ff long

taken from https://css-tricks.com/snippets/css/prevent-long-urls-from-breaking-out-of-container/
but modified: using word-break, no matter what I did there would be cases that short words got broken unnecessarily, so I removed it. Also -moz-hyphens didn't do anything - which was expected as hyphens is supposed to be supported in FF, but I don't ever seem to see hyphens there regardless.

@etpinard
Copy link
Contributor

well played 💃

@alexcjohnson alexcjohnson merged commit 265b7f3 into master Dec 18, 2017
@alexcjohnson alexcjohnson deleted the note-wrap branch December 18, 2017 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants