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

Components: Prevent web preview from being obscured by master bar #3350

Merged
merged 1 commit into from
Feb 17, 2016

Conversation

aduth
Copy link
Contributor

@aduth aduth commented Feb 16, 2016

Fixes #3339

This pull request seeks to resolve an issue where the master bar would obscure the <WebPreview /> component at small viewports.

Before After
Before After

Design Notes:

@mtias @folletto : Do you recall if the intent was for the Web Preview to be shown above the master bar? In which case, this may be a z-index issue.

Testing instructions:

Due to the nature of the changes, this should not affect larger displays, but it may be worth verifying all the same.

Ensure that the preview in the post editor or theme preview is not obscured by the master bar.

  1. Navigate to the Calypso post editor
  2. Select a site, if prompted
  3. Enter at title
  4. (Mobile only) Click Actions in the editor header
  5. Click Preview
  6. Note that the preview is not obscured

/cc @ryanboren

@aduth aduth added [Feature] Post/Page Editor The editor for editing posts and pages. [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Status] Needs Design Review Add this when you'd like to get a review / feedback from the Design team on your PR labels Feb 16, 2016
@aduth aduth changed the title Components: Preview web preview obscured by master bar Components: Preview web preview from being obscured by master bar Feb 16, 2016
@aduth aduth changed the title Components: Preview web preview from being obscured by master bar Components: Prevent web preview from being obscured by master bar Feb 16, 2016
@folletto
Copy link
Contributor

Do you recall if the intent was for the Web Preview to be shown above the master bar?

No it wasn't the intent. I think just happened as a byproduct of some refactoring of both z-indexes and masterbar. :)

It's correct for the WebPreview to be below the masterbar as you did. :)

Thanks for the patch! :D

@aduth aduth added [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 Feb 17, 2016
aduth added a commit that referenced this pull request Feb 17, 2016
…ured

Components: Prevent web preview from being obscured by master bar
@aduth aduth merged commit bbabbe3 into master Feb 17, 2016
@aduth aduth deleted the fix/3339-editor-preview-obscured branch February 17, 2016 13:12
@lancewillett lancewillett removed the [Status] Needs Design Review Add this when you'd like to get a review / feedback from the Design team on your PR label Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Post/Page Editor The editor for editing posts and pages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Editor, Preview: Preview obscured by masterbar and undismissable, iOS
4 participants