diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index a849c5fedb1..d802c4f9fb6 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -886,7 +886,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss width: 100%; .mx_EventTile_content, - .mx_EventTile_body, .mx_HiddenBody, .mx_RedactedBody, .mx_UnknownBody, diff --git a/src/components/views/messages/MLocationBody.tsx b/src/components/views/messages/MLocationBody.tsx index 94abc1c7a88..ff87af1dc3a 100644 --- a/src/components/views/messages/MLocationBody.tsx +++ b/src/components/views/messages/MLocationBody.tsx @@ -96,7 +96,7 @@ export const LocationBodyFallbackContent: React.FC<{ event: MatrixEvent, error: (_t('Shared their location: ') + event.getContent()?.body) : (_t('Shared a location: ') + event.getContent()?.body); - return
+ return
{ message } diff --git a/test/components/views/messages/__snapshots__/MLocationBody-test.tsx.snap b/test/components/views/messages/__snapshots__/MLocationBody-test.tsx.snap index 2edfc8e22d3..cc742223eba 100644 --- a/test/components/views/messages/__snapshots__/MLocationBody-test.tsx.snap +++ b/test/components/views/messages/__snapshots__/MLocationBody-test.tsx.snap @@ -2,7 +2,7 @@ exports[`MLocationBody with error displays correct fallback content when map_style_url is misconfigured 1`] = `
with error displays correct fallback cont exports[`MLocationBody with error displays correct fallback content without error style when map_style_url is not configured 1`] = `