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

Prevent showing horizontal scrollbar on home page #554

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

buberdds
Copy link
Contributor

@buberdds buberdds commented Jun 19, 2023

Reported via Internal Launch Feedback.

For me scrollbar is visible always on home page
current https://explorer.dev.oasis.io/
Screenshot 2023-06-19 at 14 10 15

Issue here is that home page layout is using 100vw width. Combo of 100vw + vertical scroll + no max width will cause horizontal scrolls to be visible.

@github-actions
Copy link

github-actions bot commented Jun 19, 2023

Deployed to Cloudflare Pages

Latest commit: 67552beb34b35e7f3e162316c972dd0dca7d8b99
Status:✅ Deploy successful!
Preview URL: https://07be3af4.oasis-explorer.pages.dev

@buberdds buberdds force-pushed the mz/homepageScroll branch 2 times, most recently from 417db9d to 6b5d160 Compare June 19, 2023 12:06
@csillag
Copy link
Contributor

csillag commented Jun 19, 2023

Issue here is that home page layout is using 100vw width. Combo of 100vw + vertical scroll + no max width will cause horizontal scrolls to be visible.

Shouldn't we get rid of the vertical scroll here? The presence of the vertical scroll seems to be an error to me, since the main component is not taking the banner into account...

@buberdds
Copy link
Contributor Author

Ah yeah that's another issue I will have to look at.

@csillag
Copy link
Contributor

csillag commented Jun 19, 2023

Ah yeah that's another issue I will have to look at.

Do we need both fixes? (Won't fixing that other issue automatically resolve this as well?)

Copy link
Contributor

@csillag csillag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed. LGTM.

@buberdds buberdds force-pushed the mz/homepageScroll branch from 6b5d160 to 67552be Compare June 20, 2023 09:59
@buberdds
Copy link
Contributor Author

yeah, we will need both probably

@buberdds buberdds merged commit adf1c28 into master Jun 20, 2023
@buberdds buberdds deleted the mz/homepageScroll branch June 20, 2023 10:03
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.

3 participants