Skip to content

Commit

Permalink
bug #6439 Fix user menu styles when user is impersonated (kteterycz)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.x branch.

Discussion
----------

Fix user menu styles when user is impersonated

Removes the unnecessary space that appeared after transitioning from SCSS to CSS. After this change, the username in the user menu should have the correct styles when the user is impersonated.

Commits
-------

161aaaf Fix user menu styles when user is impersonated
  • Loading branch information
javiereguiluz committed Sep 12, 2024
2 parents c895eac + 161aaaf commit 8db2456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/css/easyadmin-theme/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ a.user-menu-wrapper .user-details:hover {
display: flex;
-webkit-appearance: none; /* needed for Safari */
}
.user-menu-wrapper .user-is-impersonated a.user-details,
.user-menu-wrapper .user-is-impersonated a.user-details:hover {
.user-menu-wrapper.user-is-impersonated a.user-details,
.user-menu-wrapper.user-is-impersonated a.user-details:hover {
color: var(--user-menu-impersonated-link-color);
font-weight: 500;
}
Expand Down

0 comments on commit 8db2456

Please sign in to comment.