fix avatar not closing, add option to put popovers next to avatar
instead of over it
This commit is contained in:
parent
54ab1ed741
commit
2c3c2bb5b0
9 changed files with 33 additions and 15 deletions
|
|
@ -133,23 +133,27 @@
|
|||
min-width: 0;
|
||||
}
|
||||
|
||||
> a {
|
||||
vertical-align: middle;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.Avatar {
|
||||
--_avatarShadowBox: var(--avatarShadow);
|
||||
--_avatarShadowFilter: var(--avatarShadowFilter);
|
||||
--_avatarShadowInset: var(--avatarShadowInset);
|
||||
|
||||
flex: 1 0 100%;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
&-avatar-link {
|
||||
&-avatar {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
|
||||
&-overlay {
|
||||
&.-overlay {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
|
@ -169,7 +173,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
&:hover &-overlay {
|
||||
&:hover &.-overlay {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue