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

Commit 09c57b2

Browse files
authored
Fixes mx_MLocationBody_markerBorder (#8069)
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 <[email protected]>
1 parent ab934a2 commit 09c57b2

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

res/css/views/messages/_MLocationBody.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,17 @@ limitations under the License.
2727
width: 31px;
2828
height: 31px;
2929
border-radius: 50%;
30-
background-color: $accent;
3130
filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.2));
31+
background-color: $accent;
32+
33+
// See _LocationPicker.scss
34+
display: flex;
35+
justify-content: center;
36+
align-items: center;
3237

3338
.mx_BaseAvatar {
34-
margin-top: 2px;
35-
margin-left: 2px;
39+
margin: 0;
40+
line-height: 1;
3641
}
3742
}
3843

0 commit comments

Comments
 (0)