decaporg / decaporg/gatsby-starter-decap-cms

Content is not sized correctly for the viewport

Open
#247 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
951
PR merge metrics
No merged PRs in 30d

Description

# Bug report

**What is the current behavior?**

The viewport size is 424px, whereas the window size is 412px. This can be seen on mobile phone size screens when you swipe left the page moves.

**If the current behavior is a bug, please provide the steps to reproduce.**

## Mobile
- Go to https://gatsby-netlify-cms.netlify.com/
- Swipe left
- the screen moves and you get a white bar down the right hand side

## Lighthouse
- Go to https://gatsby-netlify-cms.netlify.com/
- Run Lighthouse tests
- Under PWA Optimized -> "Content is not sized correctly for the viewport"

**What is the expected behavior?**

window.innerWidth === window.outerWidth

https://developers.google.com/web/tools/lighthouse/audits/content-sized-correctly-for-viewport

**Other relevant information:**

None

Node.js version: N/A
NPM/Yarn version N/A
Operating System: N/A
Additional tools: N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.