Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Removed red shield in forwarding preview. #7447

Merged
merged 2 commits into from
Jan 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions res/css/views/dialogs/_ForwardDialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,12 @@ 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
.mx_EventTile_e2eIcon_unencrypted {
display: none;
}

// 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 {
Comment on lines +51 to 53
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mx_EventTile_msgOption as well, please :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mx_EventTile_msgOption as well, please :)

Done :)

display: none;
}
Expand Down