Archipelago icon indicating copy to clipboard operation
Archipelago copied to clipboard

Website: jumping to a section on a page hides the first couple lines

Open SoldierofOrder opened this issue 3 years ago • 1 comments
trafficstars

On archipelago.gg, if you follow a link to a specific section on a page, the section header will appear at the very tippy-top of the browser window. However, the very tippy-top of the window is hidden behind the white header bar with all the common links on it, so the first few lines of the section (including the header) are invisible until the user scrolls up. This seems unintentional. Example: 'Joining a multiworld game' on the SC2 setup guide takes you too low to see all of the instructions.

SoldierofOrder avatar Jul 22 '22 17:07 SoldierofOrder

can confirm the problem on Vivaldi Browser

Berserker66 avatar Sep 05 '22 19:09 Berserker66

This is because the top of the site uses a "fixed" header, so when the browser scrolls to put the anchor at the very top of the window, it's underneath the header. Very common problem on websites that use fixed headers.

Here is a page that describes a couple CSS-only solutions the site could potentially use to fix this.

mDuo13 avatar Nov 16 '22 21:11 mDuo13

I don't recall the PR that fixed it, but this issue has been resolved for a while.

LegendaryLinux avatar Feb 24 '23 17:02 LegendaryLinux