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

Commit 50a714d

Browse files
authored
Add margin-top to the location body which is a sibling of DisambiguatedProfile (#8523)
Signed-off-by: Suguru Hirahara <[email protected]>
1 parent ed086b0 commit 50a714d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

res/css/views/messages/_MLocationBody.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@ limitations under the License.
3838
max-width: 100%;
3939
width: 450px;
4040
}
41+
42+
.mx_DisambiguatedProfile ~ .mx_MLocationBody {
43+
margin-top: 6px; // See: https://github.com/matrix-org/matrix-react-sdk/pull/8442
44+
}

res/css/views/rooms/_EventTile.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -855,12 +855,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
855855
padding-right: 0;
856856
}
857857

858-
.mx_ReplyChain {
859-
.mx_MLocationBody {
860-
margin-top: 6px; // See: https://github.com/matrix-org/matrix-react-sdk/pull/8442
861-
}
862-
}
863-
864858
&:not([data-layout=bubble]) {
865859
padding-top: $spacing-16;
866860
}

0 commit comments

Comments
 (0)