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

Sticky header cover tab content #33

Closed
BoPeng opened this issue Jun 27, 2018 · 4 comments
Closed

Sticky header cover tab content #33

BoPeng opened this issue Jun 27, 2018 · 4 comments
Assignees

Comments

@BoPeng
Copy link
Contributor

BoPeng commented Jun 27, 2018

With the current css/js set up, we have

header
nagivation - sticky at top 
tab-content

The tab-content would go under header while scrolling. This is usually not a problem but when we jump to a section (e.g. using the dropdown menu), the anchor point (header) would be under the header.

This is basically the problem described in https://stackoverflow.com/questions/9677894/header-div-stays-at-top-vertical-scrolling-div-below-with-scrollbar-only-attach but I failed to adapt the solutions to our website with the header and sticky navigation bar.

@jma7
Copy link

jma7 commented Jun 27, 2018

@BoPeng
Copy link
Contributor Author

BoPeng commented Jun 27, 2018

Great. Thanks. I guess I did not google long enough. 😄

@BoPeng BoPeng closed this as completed Jun 27, 2018
@BoPeng BoPeng reopened this Jun 28, 2018
@BoPeng
Copy link
Contributor Author

BoPeng commented Jun 28, 2018

The patch was overwritten because you updated HTML files, not ipynb files. Let me see if I can add the changes to ipynb or the templates.

@BoPeng
Copy link
Contributor Author

BoPeng commented Jun 29, 2018

The css trick introduced here could be used. There is link that does not well, perhaps because of collision between #Documentation on two tabs. This does not really matter though.

@BoPeng BoPeng closed this as completed Jun 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants