Closed rahulrangers closed 6 months ago
🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already.
Sorry about that, after taking a closer look I realized I didn't carefully look at which particular files were being changed! I think this PR is still good for review!
@raclim the min-height: 100vh
which was removed in this PR was previously put in to prevent jumpiness on the desktop view when the fetch
for the .md
file finishes and the content comes in. Setting min-height: 100vh
forces the scrollbar to be present at all times so that it won't disappear and reappear. You can find the issues. IMO we want to keep that when on desktop, but apply it conditionally using a media query. That's what I meant by my suggestion (emphasis added)
There's probably a few valid ways to fix this, with differences in what content is fixed to the top. One way would be in the
PolicyContainer
. We would add anoverflow: auto
and remove themin-height: 100vh;
when in the mobile view.
@lindapaiste Ohh I see, sorry I did notice the distinction for only the mobile view but didn't realize the reasoning behind it and assumed it seemed okay. I'll reopen the issue and can update this PR with the needed changes!
It looks like those pages still don't scroll all the way down on mobile; on the Privacy Policy page, I can't see the "Contact information" section
Fixes #2905
Changes:
@lindapaiste I have verified that this pull request:
https://github.com/processing/p5.js-web-editor/assets/127782777/87a45f28-1d4f-41cb-995d-454acc19b9f4
npm run lint
)npm run test
)develop
branch.Fixes #123