the-programmers-hangout / website

🌳 TPH website
https://theprogrammershangout.com
MIT License
102 stars 68 forks source link

Offset anchor links while taking the fixed header into consideration #417

Closed TwiN closed 3 years ago

TwiN commented 3 years ago

This fixes the anchor link offset, which did not previously take the fixed header into consideration.

Before

image

After

image

veksen commented 3 years ago

Is it possible the commit(s) got messed up? The changes in the current PR all seem unrelated.

TwiN commented 3 years ago

@veksen Nah, I just threw in a few changes in the README, because it had a few issues.

If you insist, I can split the changes to the README as well as the changes directly related to this PR in two separate commits.

veksen commented 3 years ago

Please and sorry for the inconvenience! I missed the actual fix in the unrelated changes

TwiN commented 3 years ago

@veksen No worries