You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
I was looking why my page is 1px (maybe 2) extra always. So always a scrollbar and i can scroll 1px. I installed a fresh copy with the same result. Than I took a look at the demo and it's there too.
I can't really pin down the element causing this.
It happens in Chrome and Safari. Firefox is good.
Can somebody else confirm this?
The text was updated successfully, but these errors were encountered:
My guess is that this is caused by the javascript that calculates the sticky footer that was added some time ago, which can be found in stickyfooter.js. This code calculates a height that is added as margin-top to the footer (#footer-container) as inline style. Somehow this is off by a pixel or two, triggering the scrollbar.
I haven't tried it myself (seems you can't edit javascript in Chrome dev tools if it's minified) but you could try to just change height = height - footer.height(); to height = height - footer.height() - 1; and see if that is enough to fix this.
When you do that it seems like top-bar height is not factored into the calculations made in stickyfooter.js so the sticky footer is off by the height of the .top-bar element.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi everyone,
I was looking why my page is 1px (maybe 2) extra always. So always a scrollbar and i can scroll 1px. I installed a fresh copy with the same result. Than I took a look at the demo and it's there too.
I can't really pin down the element causing this.
It happens in Chrome and Safari. Firefox is good.
Can somebody else confirm this?
The text was updated successfully, but these errors were encountered: