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

Handle cover block on mobile - support or prevent/warn against usage #166

Open
bregman90 opened this issue Oct 5, 2020 · 0 comments
Open
Labels
bug Something isn't working

Comments

@bregman90
Copy link

bregman90 commented Oct 5, 2020

We do not currently support the standard cover block well on mobile. Using the cover block introduces horizontal space that makes the page scroll on mobile instead of being vertical scroll only.

From the help desk at WordPress.com: "Yes, the cover image shouldn't add horizontal scrolling at all. :^) It's because the theme doesn't let the cover block break out of the flow and instead adds this extra padding to the left: https://d.pr/i/uGwHRR"

We should either:

  1. Allow cover block to function as expected
  2. Prevent rendering cover block on mobile
  3. Not allow cover block to be added at all in the editor

Below is an image that show how we can scroll the page on mobile (https://planyourvotesa.org/results/):
image

@bregman90 bregman90 added the bug Something isn't working label Oct 5, 2020
@bregman90 bregman90 changed the title Support cover block on mobile Handle cover block on mobile - support or prevent/warn against usage Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant