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

Commit

Permalink
Add margin to the location map inside ThreadView (#8442)
Browse files Browse the repository at this point in the history
* Add margin to the location map inside ThreadView

Signed-off-by: Suguru Hirahara <[email protected]>

* Remove margin from location map inside a reply

Signed-off-by: Suguru Hirahara <[email protected]>

* Add margin to the location map error message inside ThreadView

Signed-off-by: Suguru Hirahara <[email protected]>

* Add margin-top to the map inside a reply

Signed-off-by: Suguru Hirahara <[email protected]>
  • Loading branch information
luixxiul authored Apr 29, 2022
1 parent 7a0b307 commit 565488a
Showing 1 changed file with 15 additions and 0 deletions.
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

0 comments on commit 565488a

Please sign in to comment.