From 4a5fa66f3bcce36baf35d9442f529eeaf8f15172 Mon Sep 17 00:00:00 2001 From: ankur12-1610 Date: Fri, 24 Dec 2021 21:32:02 +0530 Subject: [PATCH 1/2] Removed red shield in forwarding preview. Signed-off-by: ankur12-1610 --- res/css/views/dialogs/_ForwardDialog.scss | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/res/css/views/dialogs/_ForwardDialog.scss b/res/css/views/dialogs/_ForwardDialog.scss index d36875093d3..98ffb44289a 100644 --- a/res/css/views/dialogs/_ForwardDialog.scss +++ b/res/css/views/dialogs/_ForwardDialog.scss @@ -50,11 +50,9 @@ limitations under the License. // When forwarding messages from encrypted rooms, EventTile will complain // that our preview is unencrypted, which doesn't actually matter - .mx_EventTile_e2eIcon_unencrypted { - display: none; - } - // We also hide download links to not encourage users to try interacting + .mx_EventTile_e2eIcon_unencrypted, + .mx_EventTile_e2eIcon_warning, .mx_MFileBody_download { display: none; } From 49ea555bbf06bdefe706f2cdddc525c195cf512d Mon Sep 17 00:00:00 2001 From: ankur12-1610 Date: Fri, 24 Dec 2021 23:19:28 +0530 Subject: [PATCH 2/2] Clubbed all the classes which has display property to none. Signed-off-by: ankur12-1610 --- res/css/views/dialogs/_ForwardDialog.scss | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/res/css/views/dialogs/_ForwardDialog.scss b/res/css/views/dialogs/_ForwardDialog.scss index 98ffb44289a..205aaaa2026 100644 --- a/res/css/views/dialogs/_ForwardDialog.scss +++ b/res/css/views/dialogs/_ForwardDialog.scss @@ -44,13 +44,10 @@ limitations under the License. pointer-events: none; } - .mx_EventTile_msgOption { - display: none; - } - // When forwarding messages from encrypted rooms, EventTile will complain // that our preview is unencrypted, which doesn't actually matter // We also hide download links to not encourage users to try interacting + .mx_EventTile_msgOption, .mx_EventTile_e2eIcon_unencrypted, .mx_EventTile_e2eIcon_warning, .mx_MFileBody_download {