Skip to content

Fix popover adjustment on GitLab

Warren Gifford requested to merge fix-popover-adjustment-gitlab into main

Created by: chrismwendt

Removes old popover adjustment that was needed prior to https://github.com/sourcegraph/sourcegraph/pull/34859 when relativeElement was set to body. It's now undefined on code hosts, which causes the popover position to be calculated based on the window instead of body.

Before:

CleanShot 2022-07-08 at 16 55 11

After:

CleanShot 2022-07-08 at 16 56 02

The remaining gap will be fixed by https://github.com/sourcegraph/sourcegraph/pull/38511

Fixes https://github.com/sourcegraph/sourcegraph/issues/38464

Test plan

Ran locally

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading