Use custom postion calculator for the dashboard page contex-menu popover
Created by: vovakulikov
Closes https://github.com/sourcegraph/sourcegraph/issues/22793
Background
This PR adds a custom position calculator for the context menu popover element. As you can see on screenshots below before all context menus were right-aligned. With changes from this PR, all context-menus (dashboard context and insight card context menu) have share target right border position.
You can find Figma designs about these context menus here
Before | ||
---|---|---|
After |