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

Commit

Permalink
Disable pointer events for replies to locations (#8918)
Browse files Browse the repository at this point in the history
PSD-283
  • Loading branch information
weeman1337 authored Jun 28, 2022
1 parent d7969a6 commit 9cf03a8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions res/css/components/views/messages/_MBeaconBody.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@ limitations under the License.
max-width: 100%;
width: 450px;
}

.mx_ReplyTile .mx_MBeaconBody {
// Prevent clicking a beacon within a reply
pointer-events: none;
}
5 changes: 5 additions & 0 deletions res/css/views/messages/_MLocationBody.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,8 @@ limitations under the License.
.mx_DisambiguatedProfile ~ .mx_MLocationBody {
margin-top: 6px; // See: https://github.com/matrix-org/matrix-react-sdk/pull/8442
}

.mx_ReplyTile .mx_MLocationBody {
// Prevent clicking a location within a reply
pointer-events: none;
}

0 comments on commit 9cf03a8

Please sign in to comment.