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

Commit 565488a

Browse files
authored
Add margin to the location map inside ThreadView (#8442)
* 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]>
1 parent 7a0b307 commit 565488a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

res/css/views/rooms/_EventTile.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -844,6 +844,12 @@ $left-gutter: 64px;
844844
padding-left: 0;
845845
padding-right: 0;
846846
}
847+
848+
.mx_ReplyChain {
849+
.mx_MLocationBody {
850+
margin-top: 6px; // See: https://github.com/matrix-org/matrix-react-sdk/pull/8442
851+
}
852+
}
847853
}
848854

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

885891
.mx_EventTile_content,
892+
.mx_EventTile_body,
886893
.mx_HiddenBody,
887894
.mx_RedactedBody,
888895
.mx_UnknownBody,
889896
.mx_MPollBody,
897+
.mx_MLocationBody,
890898
.mx_ReplyChain_wrapper,
891899
.mx_ReactionsRow {
892900
margin-left: $spacing-start;
@@ -900,6 +908,13 @@ $left-gutter: 64px;
900908
}
901909
}
902910

911+
.mx_ReplyChain_wrapper {
912+
.mx_MLocationBody {
913+
margin-inline-start: 0;
914+
margin-inline-end: 0;
915+
}
916+
}
917+
903918
.mx_MessageTimestamp {
904919
top: 2px !important;
905920
width: auto;

0 commit comments

Comments
 (0)