Skip to content

Commit

Permalink
fix message indent in thread view (#8462)
Browse files Browse the repository at this point in the history
Signed-off-by: Kerry Archibald <kerrya@element.io>

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
  • Loading branch information
Kerry and t3chguy committed May 3, 2022
1 parent fdb78a9 commit 12af303
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/messages/MLocationBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 <div className="mx_EventTile_body">
return <div className="mx_EventTile_body mx_MLocationBody">
<span className={errorType !== LocationShareError.MapStyleUrlNotConfigured ? "mx_EventTile_tileError" : ''}>
{ message }
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`MLocationBody <MLocationBody> with error displays correct fallback content when map_style_url is misconfigured 1`] = `
<div
className="mx_EventTile_body"
className="mx_EventTile_body mx_MLocationBody"
>
<span
className="mx_EventTile_tileError"
Expand All @@ -16,7 +16,7 @@ exports[`MLocationBody <MLocationBody> with error displays correct fallback cont
exports[`MLocationBody <MLocationBody> with error displays correct fallback content without error style when map_style_url is not configured 1`] = `
<div
className="mx_EventTile_body"
className="mx_EventTile_body mx_MLocationBody"
>
<span
className=""
Expand Down

0 comments on commit 12af303

Please sign in to comment.