Skip to content

Increase user menu offset when impersonating a user

Paul Gascou-Vaillancourt requested to merge user-menu-impersonating-offset into master

What does this MR do and why?

Increase user menu offset when impersonating a user

When impersonating a user, an additional icon is displayed to the right of the user menu toggle, which also pushes the dropdown further left, causing it to overflow the viewport. This ensures that the offset properly takes the impersonation icon into account.

Changelog: fixed

Screenshots or screen recordings

Before After
Screenshot_2023-06-29_at_8.27.38_AM Screenshot_2023-06-29_at_8.27.14_AM

How to set up and validate locally

  1. Impersonate a user.
  2. Open the user menu.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Paul Gascou-Vaillancourt

Merge request reports