aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-02-20 15:11:33 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-02-20 15:11:33 +0000
commitddee8bb686fb18baf5212089653a8b4e40feedd6 (patch)
treee200f269c3f8faca1f502cf416f0841126b52d9b /src/components/notification
parent56616787ec1b8373e5c160c6fe863694a66ca2db (diff)
parentbefd4d5fc787d3f8287456dbf5d1a6c70419591f (diff)
Merge branch 'proper-attachments' into 'develop'
Attachment improvements See merge request pleroma/pleroma-fe!1399
Diffstat (limited to 'src/components/notification')
-rw-r--r--src/components/notification/notification.scss6
-rw-r--r--src/components/notification/notification.vue3
2 files changed, 8 insertions, 1 deletions
diff --git a/src/components/notification/notification.scss b/src/components/notification/notification.scss
index 14ec6213..38978137 100644
--- a/src/components/notification/notification.scss
+++ b/src/components/notification/notification.scss
@@ -9,6 +9,12 @@
word-break: break-word;
--emoji-size: 14px;
+ &:hover {
+ --_still-image-img-visibility: visible;
+ --_still-image-canvas-visibility: hidden;
+ --_still-image-label-visibility: hidden;
+ }
+
&.-muted {
padding: 0.25em 0.6em;
height: 1.2em;
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue
index 44cd3d8a..c7305b78 100644
--- a/src/components/notification/notification.vue
+++ b/src/components/notification/notification.vue
@@ -184,8 +184,9 @@
</router-link>
</div>
<template v-else>
- <status-content
+ <StatusContent
class="faint"
+ :compact="true"
:status="notification.action"
/>
</template>