Disable pointer events for replies to locations (#8918)

PSD-283
This commit is contained in:
Michael Weimann 2022-06-28 09:34:48 +02:00 committed by GitHub
parent d7969a6dd3
commit 9cf03a8d32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -51,3 +51,8 @@ limitations under the License.
max-width: 100%; max-width: 100%;
width: 450px; width: 450px;
} }
.mx_ReplyTile .mx_MBeaconBody {
// Prevent clicking a beacon within a reply
pointer-events: none;
}

View File

@ -42,3 +42,8 @@ limitations under the License.
.mx_DisambiguatedProfile ~ .mx_MLocationBody { .mx_DisambiguatedProfile ~ .mx_MLocationBody {
margin-top: 6px; // See: https://github.com/matrix-org/matrix-react-sdk/pull/8442 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;
}