discourse/app
Joe 3a3628e9b0
UX: Fixes navigation 1px jitter (#17467)
Context: https://meta.discourse.org/t/pixel-jump-whenever-page-refreshes-mobile-desktop/231053

We currently add 1 extra pixel when we try to restore the last scroll position on a few routes. 

This is causing a bit of jumpiness, as described in the linked topic above. 

<img height="300" src="ae9e69f7fd.gif">

Notice how the content shifts by 1px while stuff loads.

I believe this 1px that we add is an artifact from the days when we used to set the header to `fixed` but I'm not sure. Either way, the header now uses `position: sticky;` so we shouldn't need that 1px adjustment.

This PR introduced no visual changes except that it fixes the jitter mentioned above.
2022-07-13 13:39:30 +08:00
..
assets UX: Fixes navigation 1px jitter (#17467) 2022-07-13 13:39:30 +08:00
controllers DEV: Refactor user mute/ignore/disallow PM checks into central class (#17366) 2022-07-13 13:58:01 +10:00
helpers DEV: Remove development cache-buster query parameter (#17444) 2022-07-12 11:53:59 +01:00
jobs FIX: Uninitialized class variable error in sidekiq (#17227) 2022-06-24 14:17:39 +10:00
mailers FEATURE: Custom unsubscribe options (#17090) 2022-06-21 15:49:47 -03:00
models DEV: Refactor user mute/ignore/disallow PM checks into central class (#17366) 2022-07-13 13:58:01 +10:00
serializers FEATURE: auto remove user status after predefined period (#17236) 2022-07-05 19:12:22 +04:00
services DEV: Refactor user mute/ignore/disallow PM checks into central class (#17366) 2022-07-13 13:58:01 +10:00
views FIX: Just inline the QUnit CSS in theme-test html (#17415) 2022-07-11 12:01:47 +02:00