From 4197e8e8332c4e9edf5fda9db9c2c529634a21aa Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 2 Aug 2020 22:13:32 -0500 Subject: [PATCH] HoverCard: Prevent floating avatars from intercepting with current card --- app/styles/components/profile_hover_card.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/styles/components/profile_hover_card.scss b/app/styles/components/profile_hover_card.scss index 2a1c4e14c..e113d9828 100644 --- a/app/styles/components/profile_hover_card.scss +++ b/app/styles/components/profile_hover_card.scss @@ -98,3 +98,15 @@ left: 80px; } } + +/* Prevent floating avatars from intercepting with current card */ +.status, +.detailed-status { + .floating-link { + display: none; + } + + &:hover .floating-link { + display: block; + } +}