Above desktop breakpoint (1000px), the sticky header is visible for logged in users while the TOC is anchored in the sidebar. When logged in, the top margin of the TOC looks fine but when logged out, the sticky header is no longer visible (only enabled for logged in users at the moment) and the top margin spacing of the TOC looks too big (beyond design spec of ~24px)
Issue visible on prod as anon if you scroll down on https://en.wikipedia.org/wiki/Barack_Obama?useskin=vector-2022&tableofcontents=1
The .mw-sticky-header-element class overrides top rule for any element ascribed with the class.
- When logged out at above desktop view port, TOC in sidebar has a top spacing that matches design spec.