This was a thing that I dealt with a few weeks back on my own blog. I fixed it with JS but I was ashamed of the solution. Thanks for this, I will apply this one instead of following.
(() => { if (window.innerHeight >= document.body.scrollHeight) { document.querySelector('footer').classList.add('fixed-footer') } })();
Hi Ertan, It's cool you found your own solutions as well, it's what we do as developers. There are always different quicker solutions.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This was a thing that I dealt with a few weeks back on my own blog. I fixed it with JS but I was ashamed of the solution. Thanks for this, I will apply this one instead of following.
Hi Ertan, It's cool you found your own solutions as well, it's what we do as developers.
There are always different quicker solutions.