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/still-image/still-image.vue | |
| 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/still-image/still-image.vue')
| -rw-r--r-- | src/components/still-image/still-image.vue | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/components/still-image/still-image.vue b/src/components/still-image/still-image.vue index ad82210d..d3eb5925 100644 --- a/src/components/still-image/still-image.vue +++ b/src/components/still-image/still-image.vue @@ -42,7 +42,7 @@ width: 100%; height: 100%; object-fit: contain; - visibility: var(--still-image-canvas, visible); + visibility: var(--_still-image-canvas-visibility, visible); } img { @@ -66,16 +66,19 @@ border-radius: $fallback--tooltipRadius; border-radius: var(--tooltipRadius, $fallback--tooltipRadius); z-index: 2; - visibility: var(--still-image-label-visibility, visible); + visibility: var(--_still-image-label-visibility, visible); } &:hover canvas { display: none; } - &:hover::before, + &:hover::before { + visibility: var(--_still-image-label-visibility, hidden); + } + img { - visibility: var(--still-image-img, hidden); + visibility: var(--_still-image-img-visibility, hidden); } &:hover img { |
