From 16015b9c13ff64d1d0cedbaf7eab06ac3b87bac7 Mon Sep 17 00:00:00 2001 From: Eduard Kuzmenko Date: Fri, 25 Feb 2022 16:19:26 +0200 Subject: [PATCH] Fix reply hover on media messages --- src/scss/partials/_chatBubble.scss | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/scss/partials/_chatBubble.scss b/src/scss/partials/_chatBubble.scss index c6a4ff91..ec0fd8c7 100644 --- a/src/scss/partials/_chatBubble.scss +++ b/src/scss/partials/_chatBubble.scss @@ -1114,9 +1114,7 @@ $bubble-beside-button-width: 38px; min-width: 10rem; width: auto; - @include hover() { - background-color: var(--light-filled-message-primary-color); - } + &-media { top: .125rem; @@ -1140,6 +1138,14 @@ $bubble-beside-button-width: 38px; margin-bottom: 0; // ! same margin as between name and message } + &:not(.just-media) { + .reply { + @include hover() { + background-color: var(--light-filled-message-primary-color); + } + } + } + &.just-media { .reply, .name {