diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2020-11-01 20:50:02 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2020-11-01 20:50:02 +0000 |
| commit | 590f8e17544969b1fc2456b3724e85b16cf81bdd (patch) | |
| tree | c1c04f7bb2080d8d53c26bb8c543327e3d4e2789 /src/components/user_card | |
| parent | 148789767a28a988751af9635cd53fe6d85a4c75 (diff) | |
| parent | 64da9a8e69fa8b26f627da4505c4efba1b025df1 (diff) | |
Merge branch 'various-css-fixes' into 'develop'
Various css fixes
Closes #992
See merge request pleroma/pleroma-fe!1267
Diffstat (limited to 'src/components/user_card')
| -rw-r--r-- | src/components/user_card/user_card.vue | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index 55e231d2..f916af9d 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -282,6 +282,11 @@ .user-card { position: relative; + &:hover .Avatar { + --_still-image-img-visibility: visible; + --_still-image-canvas-visibility: hidden; + } + .panel-heading { padding: .5em 0; text-align: center; @@ -382,20 +387,17 @@ max-height: 56px; .Avatar { + --_avatarShadowBox: var(--avatarShadow); + --_avatarShadowFilter: var(--avatarShadowFilter); + --_avatarShadowInset: var(--avatarShadowInset); + flex: 1 0 100%; width: 56px; height: 56px; - box-shadow: 0px 1px 8px rgba(0,0,0,0.75); - box-shadow: var(--avatarShadow); object-fit: cover; } } - &:hover .Avatar { - --still-image-img: visible; - --still-image-canvas: hidden; - } - &-avatar-link { position: relative; cursor: pointer; |
