diff --git a/res/css/views/messages/_MLocationBody.scss b/res/css/views/messages/_MLocationBody.scss index adca4ae4ba6..cbbd34526db 100644 --- a/res/css/views/messages/_MLocationBody.scss +++ b/res/css/views/messages/_MLocationBody.scss @@ -38,3 +38,7 @@ limitations under the License. max-width: 100%; width: 450px; } + +.mx_DisambiguatedProfile ~ .mx_MLocationBody { + margin-top: 6px; // See: https://github.com/matrix-org/matrix-react-sdk/pull/8442 +} diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index 6f2fb704983..e8480acde02 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -842,12 +842,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss padding-right: 0; } - .mx_ReplyChain { - .mx_MLocationBody { - margin-top: 6px; // See: https://github.com/matrix-org/matrix-react-sdk/pull/8442 - } - } - &:not([data-layout=bubble]) { padding-top: $spacing-16; }