From 352df7ddc7ed69311488545cb8aeb61d6b1f283b Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Mon, 4 Jul 2022 15:37:31 +0900 Subject: [PATCH] Move mx_EventTile_contextual out of mx_EventTile:not([data-layout=bubble]) (#8974) * Move mx_EventTile_contextual out of mx_EventTile:not([data-layout=bubble]) Signed-off-by: Suguru Hirahara * Empty commit Signed-off-by: Suguru Hirahara --- res/css/views/rooms/_EventBubbleTile.scss | 5 ----- res/css/views/rooms/_EventTile.scss | 10 ++++++---- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/res/css/views/rooms/_EventBubbleTile.scss b/res/css/views/rooms/_EventBubbleTile.scss index 1717c611e2..52c115891a 100644 --- a/res/css/views/rooms/_EventBubbleTile.scss +++ b/res/css/views/rooms/_EventBubbleTile.scss @@ -44,11 +44,6 @@ limitations under the License. display: none; } } - - // Mirror rough designs for "greyed out" text - &.mx_EventTile_contextual .mx_EventTile_line { - opacity: 0.4; - } } } diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index e34347621f..29968ed41f 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -106,6 +106,12 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss } } + .mx_RoomView_searchResultsPanel & { + &.mx_EventTile_contextual { + opacity: 0.4; + } + } + &.mx_EventTile_highlight, &.mx_EventTile_highlight .markdown-body { color: $alert; @@ -299,10 +305,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss } } - &.mx_EventTile_contextual { - opacity: 0.4; - } - .mx_EventTile_msgOption { float: right; text-align: right;