HoverCard: Reposition "Follow you!" component
This commit is contained in:
parent
a7463dd3fc
commit
1266585aef
2 changed files with 9 additions and 3 deletions
Binary file not shown.
|
@ -18,13 +18,13 @@
|
||||||
z-index: 998;
|
z-index: 998;
|
||||||
left: -10px;
|
left: -10px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
|
||||||
&--visible {
|
&--visible {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media(min-width: 750px) {
|
@media(min-width: 750px) {
|
||||||
left: -80px;
|
left: -80px;
|
||||||
}
|
}
|
||||||
|
@ -51,12 +51,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.relationship-tag {
|
||||||
|
position: absolute;
|
||||||
|
top: 10px;
|
||||||
|
left: 10px;
|
||||||
|
z-index: 1;
|
||||||
|
}
|
||||||
|
|
||||||
.profile-hover-card__badges {
|
.profile-hover-card__badges {
|
||||||
margin: 0 20px 20px;
|
margin: 0 20px 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
.badge,
|
.badge {
|
||||||
.relationship-tag {
|
|
||||||
padding: 2px 4px;
|
padding: 2px 4px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
|
Loading…
Reference in a new issue