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

Commit

Permalink
Fixes mx_MLocationBody_markerBorder (#8069)
Browse files Browse the repository at this point in the history
Fixes element-hq/element-web#21444

This commit fixes the position of the avatar on the location pin on the
timeline.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
  • Loading branch information
luixxiul committed Mar 18, 2022
1 parent ab934a2 commit 09c57b2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions res/css/views/messages/_MLocationBody.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ limitations under the License.
width: 31px;
height: 31px;
border-radius: 50%;
background-color: $accent;
filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.2));
background-color: $accent;

// See _LocationPicker.scss
display: flex;
justify-content: center;
align-items: center;

.mx_BaseAvatar {
margin-top: 2px;
margin-left: 2px;
margin: 0;
line-height: 1;
}
}

Expand Down

0 comments on commit 09c57b2

Please sign in to comment.