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

Add margin to the location map inside ThreadView #8442

Merged
merged 4 commits into from
Apr 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,12 @@ $left-gutter: 64px;
padding-left: 0;
padding-right: 0;
}

.mx_ReplyChain {
.mx_MLocationBody {
margin-top: 6px; // See: https://github.com/matrix-org/matrix-react-sdk/pull/8442
}
}
}

.mx_EventTile:not([data-layout=bubble]) {
Expand Down Expand Up @@ -883,10 +889,12 @@ $left-gutter: 64px;
width: 100%;

.mx_EventTile_content,
.mx_EventTile_body,
.mx_HiddenBody,
.mx_RedactedBody,
.mx_UnknownBody,
.mx_MPollBody,
.mx_MLocationBody,
.mx_ReplyChain_wrapper,
.mx_ReactionsRow {
margin-left: $spacing-start;
Expand All @@ -900,6 +908,13 @@ $left-gutter: 64px;
}
}

.mx_ReplyChain_wrapper {
.mx_MLocationBody {
margin-inline-start: 0;
margin-inline-end: 0;
}
}

.mx_MessageTimestamp {
top: 2px !important;
width: auto;
Expand Down