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

Commit

Permalink
Add margin-top to the location body which is a sibling of Disambiguat…
Browse files Browse the repository at this point in the history
…edProfile (#8523)

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
  • Loading branch information
luixxiul committed May 9, 2022
1 parent ed086b0 commit 50a714d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 4 additions & 0 deletions res/css/views/messages/_MLocationBody.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@ limitations under the License.
max-width: 100%;
width: 450px;
}

.mx_DisambiguatedProfile ~ .mx_MLocationBody {
margin-top: 6px; // See: https://github.com/matrix-org/matrix-react-sdk/pull/8442
}
6 changes: 0 additions & 6 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -855,12 +855,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
padding-right: 0;
}

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

&:not([data-layout=bubble]) {
padding-top: $spacing-16;
}
Expand Down

0 comments on commit 50a714d

Please sign in to comment.