gregsadetsky / nycnoise

https://nyc-noise.com
15 stars 0 forks source link

Anchor links to dates don't bring to the exactly right position #222

Closed gregsadetsky closed 4 months ago

gregsadetsky commented 4 months ago

Repro: go to month of feb, then click a date in march. On mobile (and desktop too), the exact y scroll position that the browser ends up is not the beginning of the day ... but somewhere?

Does this have to do with the sticky header? I.e. the top of the day actually aligns with the top of the page, but because of the sticky header, that portion of the day is hidden?

gregsadetsky commented 4 months ago

discussed here -- https://stackoverflow.com/questions/7717894/sticky-header-internal-links -- check solutions

nycnoise commented 4 months ago

i noticed this too & ahhh did you already fix it what??!!! :')

gregsadetsky commented 4 months ago

I did not fix it yet, no

gregsadetsky commented 4 months ago

fixed in d16815e4a1e292048a493ca377f13e89c8fecc4f !