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

Make section scrolling work with modified CSS #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jun 5, 2024

  1. Make section scrolling work with modified CSS

    190px is hardcoded in the Javascript, whereas a user of this theme can easily override the size of the header and banner, and hence the location of the top of the main section. This change makes the scrollTop location when clicking a nav link always be correct, instead of assuming the main section is always 190px from the top.
    mattalbright authored Jun 5, 2024
    Configuration menu
    Copy the full SHA
    74a4b2f View commit details
    Browse the repository at this point in the history