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

Home: Don't allow line breaks in the View Site button text. #39609

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

kwight
Copy link
Contributor

@kwight kwight commented Feb 21, 2020

Buttons with line breaks in their text look disorienting, and our mobile views of Customer Home can display the View Site button in this way. This PR ensures the button text does not wrap.

Before
Screen Shot 2020-02-21 at 9 52 01 AM

After
Screen Shot 2020-02-21 at 9 50 25 AM

Testing instructions

@kwight kwight requested a review from a team as a code owner February 21, 2020 17:56
@matticbot
Copy link
Contributor

@kwight kwight self-assigned this Feb 21, 2020
@kwight kwight added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Type] Enhancement [Feature] My Home The main dashboard for managing a WordPress.com site. labels Feb 21, 2020
@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

@sixhours
Copy link
Contributor

This works well for me! 🚢

@kwight kwight merged commit e399b44 into master Feb 21, 2020
@kwight kwight deleted the fix/home-buttons branch February 21, 2020 20:00
@matticbot matticbot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] My Home The main dashboard for managing a WordPress.com site. [Type] Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants