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

Commit 9cf03a8

Browse files
authored
Disable pointer events for replies to locations (#8918)
PSD-283
1 parent d7969a6 commit 9cf03a8

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

res/css/components/views/messages/_MBeaconBody.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,8 @@ limitations under the License.
5151
max-width: 100%;
5252
width: 450px;
5353
}
54+
55+
.mx_ReplyTile .mx_MBeaconBody {
56+
// Prevent clicking a beacon within a reply
57+
pointer-events: none;
58+
}

res/css/views/messages/_MLocationBody.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ limitations under the License.
4242
.mx_DisambiguatedProfile ~ .mx_MLocationBody {
4343
margin-top: 6px; // See: https://github.com/matrix-org/matrix-react-sdk/pull/8442
4444
}
45+
46+
.mx_ReplyTile .mx_MLocationBody {
47+
// Prevent clicking a location within a reply
48+
pointer-events: none;
49+
}

0 commit comments

Comments
 (0)