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

doc(styles): Scroll menu and main content separately #1685

Merged
merged 6 commits into from
Jul 28, 2021

Conversation

thisisommore
Copy link
Contributor

What does this change

Menu now scroll separately and finitely

video_2021-07-25_20-22-10.mp4

What issue does it fix

Closes #1682

Notes for the reviewer

In desktop the box shadow of <a class="exit-off-canvas"></a> interfaces ui of scroll bar
porter-screenshot
There are three options to fix this,

Due to <a class="exit-off-canvas"></a> in my changes home page doesn't scroll when menu is open.

@thisisommore
Copy link
Contributor Author

@DARK-art108 @carolynvs would like to discuss this ?

@DARK-art108
Copy link
Member

DARK-art108 commented Jul 26, 2021

Awesome @thisisommore Looks good to merge!

Copy link
Member

@DARK-art108 DARK-art108 left a comment

Choose a reason for hiding this comment

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

Looks good to merge!

@DARK-art108
Copy link
Member

@thisisommore can you elaborate more on what you have Note for the reviewer as I see the desktop site is working fine after this fix!

@thisisommore
Copy link
Contributor Author

@thisisommore can you elaborate more on what you have Note for the reviewer as I see the desktop site is working fine after this fix!

@DARK-art108
Sorry if I was being unclear there,
The issue here is minor and is only visible when windows width is small (thats when left hidden menu is available) and can be ignored.
After making menu scrollable it gets it own scrollbar, and that scrollbar gets under the shadow of the element which is in right side.
For reference see this screenshot
image
and this screenshot after removing the element in side right which was causing shadow,
image

@thisisommore thisisommore marked this pull request as ready for review July 26, 2021 11:10
@carolynvs carolynvs requested a review from flynnduism July 27, 2021 15:11
Copy link
Member

@carolynvs carolynvs left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

I tested the site on a small screen, and can see the problem that you highlighted with scrolling when the menu is open. I tried removing the exist-off-canvas and that seemed to fix it without any side-effects.

Can you remove that element as well?

@carolynvs carolynvs self-assigned this Jul 27, 2021
@thisisommore
Copy link
Contributor Author

Thanks for fixing this!

I tested the site on a small screen, and can see the problem that you highlighted with scrolling when the menu is open. I tried removing the exist-off-canvas and that seemed to fix it without any side-effects.

Can you remove that element as well?

I can remove that element by tomorrow and thanks for checking this out 😀, between I see that you have self assigned this, did you already removed element ?

@carolynvs
Copy link
Member

We use the assignment field on pull requests to help track which maintainer is "managing" a pull request, it doesn't mean that we are taking over an issue or anything. 😀

@thisisommore
Copy link
Contributor Author

We use the assignment field on pull requests to help track which maintainer is "managing" a pull request, it doesn't mean that we are taking over an issue or anything. 😀

Thanks, got it.

@thisisommore
Copy link
Contributor Author

I have removed the element from where it was causing issue, I didn't removed it from all html files since I am not aware of issues that might occur by removing the element from every file.

Signed-off-by: thisisommore <[email protected]>
@DARK-art108
Copy link
Member

@thisisommore it's working fine now in small screens, now site look more awesome!

@thisisommore thisisommore requested a review from carolynvs July 28, 2021 05:42
@thisisommore
Copy link
Contributor Author

Just noticed, we are having issues with scroll in side menu.
Reference https://developers.google.com/web/updates/2016/12/url-bar-resizing
I will try to fix this.

@thisisommore thisisommore marked this pull request as draft July 28, 2021 12:20
@thisisommore
Copy link
Contributor Author

thisisommore commented Jul 28, 2021

Now even more stable.
Chrome url bar now won't cause issues.

screen-20210728-182637.mp4

@thisisommore thisisommore marked this pull request as ready for review July 28, 2021 12:58
@thisisommore thisisommore requested a review from DARK-art108 July 28, 2021 12:58
Copy link
Member

@DARK-art108 DARK-art108 left a comment

Choose a reason for hiding this comment

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

Looks fine to me!

Copy link
Member

@carolynvs carolynvs left a comment

Choose a reason for hiding this comment

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

This looks great. I really appreciate you contributing some much needed CSS and design skills to our site. 👍

@@ -54,3 +54,4 @@ and we will add you. **All** contributors belong here. 💯
* [Divyam Bhasin](https://github.com/divbhasin)
* [Ritesh Yadav](https://github.com/DARK-art108)
* [Jérémy Audiger](https://github.com/jaudiger)
* [Om More](https://github.com/thisisommore)
Copy link
Member

Choose a reason for hiding this comment

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

Thank you for adding your name to our contributors page! 🎉

@carolynvs carolynvs merged commit 9253596 into getporter:main Jul 28, 2021
@carolynvs carolynvs mentioned this pull request Aug 11, 2021
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.

Main content scrolls with menu items
3 participants