look: fix scrolling to sections #34

Closed
q3k wants to merge 4 commits from q3k-fix-link-targeting into main

4 commits

Author SHA1 Message Date
Dariusz Niemczyk fb3d783ebc
fix: make it work with worse motions
Some checks failed
/ deploy (push) Failing after 1s
2025-04-13 20:48:58 +02:00
Dariusz Niemczyk 133c82790e
fix: revert sections height
Some checks failed
/ deploy (push) Failing after 2s
2025-04-13 19:58:52 +02:00
Dariusz Niemczyk 79feb340cd
fix: improve upon coloring sections 2025-04-13 19:58:21 +02:00
q3k 06ff6d32e8 look: fix scrolling to sections
Some checks failed
/ deploy (push) Failing after 2s
This fixes:

1. The inability to scroll down to 'contacts' and other lower sections.
   We just expand the second-to-last section to allow the browser to
   scroll.
2. Updating the currently active section - this now uses a global view
   of all visible sections that is updated by the observer diff, thereby
   fixing the logic.
2025-04-13 19:06:26 +02:00