Peek behaviour sometimes misbehaves
It was reported internally that the sidebar peek behaviour can misbehave, though this couldn't be reproduced at the time:
I eventually accidently reproduced it on my local GDK instance:
simplescreenrecorder-2023-05-24_17.27.26
The problem is that the xNearWindowEdge property was evaluating to an incorrect number:
The reason for this must be that the CSS for the gl-w-3 class wasn't loaded when its width was calculated.
On my GDK, Startup CSS is still enabled (i.e., the remove_startup_css feature flag is disabled), which could well be why, since stylesheets by design do not block deferred scripts/DOMContentLoaded. On GitLab.com, Startup CSS is currently disabled (i.e., the remove_startup_css feature flag is enabled), which explains why it hasn't yet been replicated there.
