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

adjust browser viewport to avoid cutting off bottom of page #614

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

ikreymer
Copy link
Member

The 81px offset was determined by testing, ideally could get it from somewhere?
Result:
Screenshot 2024-06-14 at 12 31 21 PM

Note: Tested locally, but need to ensure this doesn't break QA when screenshots taken with old viewport, otherwise, need to account for that.

- subtract the browser ui height from default viewport computed from screen dimensions
- hard-code height to 81px for now
- fixes #613, bottom of page being cut-off as viewport height was too big
@ikreymer ikreymer requested a review from tw4l June 14, 2024 19:33
@ikreymer
Copy link
Member Author

Tested QA from previous versions, no issue with screenshots.

@ikreymer
Copy link
Member Author

Will merge now for 1.2.0-beta.1 release and can do more testing.

@ikreymer ikreymer merged commit ac722cc into main Jun 14, 2024
4 checks passed
@ikreymer ikreymer deleted the viewport-height-adjust branch June 14, 2024 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Profiles are cut off at the bottom
1 participant