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

Disable pointer events for replies to locations #8918

Merged
merged 1 commit into from
Jun 28, 2022
Merged
Show file tree
Hide file tree
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
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;
}