From 9ae530bd584e61e3d713ea634adba79a8f0f0dcc Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 18 Dec 2023 15:10:55 +0500 Subject: [PATCH] MM-55505 - Updating thread avatars hover state (#25488) * MM-55505 - Updating thread avatars hover state * Updating elevation * Updating tests --- .../team_warning_banner.test.tsx.snap | 8 ++-- .../__snapshots__/thread_footer.test.tsx.snap | 36 +++++++-------- .../user_group_popover.test.tsx.snap | 20 ++++----- .../group_member_list.test.tsx.snap | 20 ++++----- .../widgets/simple_tooltip/simple_tooltip.tsx | 2 +- .../__snapshots__/avatars.test.tsx.snap | 44 +++++++++---------- .../widgets/users/avatars/avatars.scss | 5 ++- 7 files changed, 69 insertions(+), 66 deletions(-) diff --git a/webapp/channels/src/components/channel_invite_modal/team_warning_banner/__snapshots__/team_warning_banner.test.tsx.snap b/webapp/channels/src/components/channel_invite_modal/team_warning_banner/__snapshots__/team_warning_banner.test.tsx.snap index d0b9b199c2..3e4708cc2b 100644 --- a/webapp/channels/src/components/channel_invite_modal/team_warning_banner/__snapshots__/team_warning_banner.test.tsx.snap +++ b/webapp/channels/src/components/channel_invite_modal/team_warning_banner/__snapshots__/team_warning_banner.test.tsx.snap @@ -567,7 +567,7 @@ exports[`components/channel_invite_modal/team_warning_banner should match snapsh > , 'overlay'>) => { diff --git a/webapp/channels/src/components/widgets/users/avatars/__snapshots__/avatars.test.tsx.snap b/webapp/channels/src/components/widgets/users/avatars/__snapshots__/avatars.test.tsx.snap index c60ea6c672..58395a11b5 100644 --- a/webapp/channels/src/components/widgets/users/avatars/__snapshots__/avatars.test.tsx.snap +++ b/webapp/channels/src/components/widgets/users/avatars/__snapshots__/avatars.test.tsx.snap @@ -114,7 +114,7 @@ exports[`components/widgets/users/Avatars should fetch missing users 1`] = ` button { + transition: all 100ms ease-in-out; + &:not(:first-child) { margin-left: var(--offset); } @@ -50,7 +52,8 @@ &:hover, &:focus { z-index: 1; - filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.08)); + box-shadow: var(--elevation-2); + transform: scale(1.2); } }