congo
congo copied to clipboard
feat: add js to check height and decide if to top is required
Set scroll to top element to available when page height -150 > browser height.
-150
is based on testing
Closes #772
Deploy Preview for hugo-congo ready!
Built without sensitive environment variables
Name | Link |
---|---|
Latest commit | fce82b45b2a4fa19d424e5959b95b7b184f5dca1 |
Latest deploy log | https://app.netlify.com/sites/hugo-congo/deploys/663a4c96941a350007d966c4 |
Deploy Preview | https://deploy-preview-806--hugo-congo.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
I'm not against making this a JS feature as frankly the current implementation using only CSS is a bit hacky, but I still think it should honour the .Site.Params.footer.showScrollToTop
parameter.
I'm not against making this a JS feature as frankly the current implementation using only CSS is a bit hacky, but I still think it should honour the
.Site.Params.footer.showScrollToTop
parameter.
Hmm, let me try it in another way
It should also obey the rule in the config now