HoverCard: Reposition "Follow you!" component

This commit is contained in:
Alex Gleason 2020-08-02 19:50:17 -05:00
parent a7463dd3fc
commit 1266585aef
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 9 additions and 3 deletions

View file

@ -18,13 +18,13 @@
z-index: 998;
left: -10px;
padding-top: 20px;
margin-bottom: 10px;
&--visible {
opacity: 1;
pointer-events: all;
}
@media(min-width: 750px) {
left: -80px;
}
@ -51,12 +51,18 @@
}
}
.relationship-tag {
position: absolute;
top: 10px;
left: 10px;
z-index: 1;
}
.profile-hover-card__badges {
margin: 0 20px 20px;
display: flex;
.badge,
.relationship-tag {
.badge {
padding: 2px 4px;
margin-right: 5px;
border-radius: 3px;