leap-day icon indicating copy to clipboard operation
leap-day copied to clipboard

Make section scrolling work with modified CSS

Open mattalbright opened this issue 8 months ago • 1 comments

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 avatar Jun 05 '24 21:06 mattalbright