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

Jetpack Plugins: widow on "all plugins up to date" message #420

Closed
v18 opened this issue Nov 22, 2015 · 0 comments · Fixed by #1542
Closed

Jetpack Plugins: widow on "all plugins up to date" message #420

v18 opened this issue Nov 22, 2015 · 0 comments · Fixed by #1542

Comments

@v18
Copy link
Contributor

v18 commented Nov 22, 2015

We should keep the last 2 words together, so that there's never a single word on a line of its own:

screen shot 2015-11-22 at 8 20 33 am

Ideally, we'd have some standardized component/utility that we could just call on any string to avoid this, anywhere within Calypso.

Two suggestions for how this could be done:

  1. inject an   between the last 2 words in a string.
  2. Use a span with white-space: nowrap for the last two words:

screen shot 2015-11-22 at 8 23 53 am
screen shot 2015-11-22 at 8 23 25 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment