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

Framework: Fixes uncentered logged-out layouts with no sidebar #1239

Merged
merged 1 commit into from
Dec 3, 2015

Conversation

ebinnion
Copy link
Contributor

@ebinnion ebinnion commented Dec 3, 2015

Fixes #1077 and #901

In #1077, I reported that logged out layouts without a sidebar were still off-center even after #302. After looking into this more, it looks like it was because there's a client/layout/logged-out.jsx component that wasn't updated to add the has-no-sidebar class. This PR fixes that.

cc @shaunandrews @scruffian for review

To test:

  • Checkout fix/logged-out-sidebar-layout branch
  • While logged out (easiest in incognito), go to /start.
  • Does everything look centered?
  • Now, go to $site/wp-admin/users.php?page=wpcom-invite-users and send an invitation to an email you have access to me
  • In the invitation email, make note of the $invitation_key
  • While logged out, go to /accept-invite/$site/$invitation_key
  • Is everything centered properly.

After screenshots:

screen shot 1
screen shot

@ebinnion ebinnion added Framework [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. NUX People Management labels Dec 3, 2015
@ebinnion ebinnion self-assigned this Dec 3, 2015
@ebinnion ebinnion added this to the People Management: m6 milestone Dec 3, 2015
@ebinnion ebinnion force-pushed the fix/logged-out-sidebar-layout branch from 1e97e80 to a5613f0 Compare December 3, 2015 17:18
@drewblaisdell drewblaisdell added [Type] Bug When a feature is broken and / or not performing as intended [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Dec 3, 2015
@drewblaisdell
Copy link
Contributor

LGTM.

ebinnion added a commit that referenced this pull request Dec 3, 2015
Framework: Fixes uncentered logged-out layouts with no sidebar
@ebinnion ebinnion merged commit 77a953e into master Dec 3, 2015
@ebinnion ebinnion deleted the fix/logged-out-sidebar-layout branch December 3, 2015 21:05
@ghost ghost mentioned this pull request Dec 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework NUX People Management [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Framework: Logged out views without sidebar off-center
3 participants