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

Fix scroll to top and toggle menu #1446

Open
wants to merge 2 commits into
base: master
from
Open

Conversation

@scottilee
Copy link
Contributor

@scottilee scottilee commented Jun 2, 2019

Fixes issue #1278: "Back to top not working properly"

Fixes two scroll to top buttons on smaller screen sizes that now scroll to the top of the screen.

Additionally, this fixes a menu close button at the top that now closes the menu.

@@ -162,10 +162,12 @@

{# Fallback for browsers that do not display generated content... HTML entity will be the icon instead #}
<a id="close-python-network" class="jump-link" href="#python-network" aria-hidden="true">
<span aria-hidden="true" class="icon-arrow-down"><span>&#9660;</span></span> Close
<span aria-hidden="true" class="icon-arrow-down"><span>&#9660;</span></span> Close / Open

This comment has been minimized.

@berkerpeksag

berkerpeksag Jun 2, 2019
Member

Can we make the default state of the network menu closed instead? Personally, I rarely use them and its current implementation is way more buggy. I think it would be much better if we show it to users on demand.

@scottilee
Copy link
Contributor Author

@scottilee scottilee commented Jun 4, 2019

Fixed the menu to be closed by default.

1

@eamanu
eamanu approved these changes Jun 5, 2019
Copy link
Contributor

@eamanu eamanu left a comment

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.