summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/SkNoteDetailed.vue
diff options
context:
space:
mode:
authorShittyKopper <shittykopper@w.on-t.work>2024-02-03 15:22:12 +0300
committerShittyKopper <shittykopper@w.on-t.work>2024-02-04 15:21:57 +0300
commit5ef8e3123bbc7ff1f28204a7bcd3f04db473e802 (patch)
tree426b2d261630109127a4b8de4f1318b1b2e8f357 /packages/frontend/src/components/SkNoteDetailed.vue
parentupd: expandAllCws also expands all long posts on first click (diff)
downloadsharkey-5ef8e3123bbc7ff1f28204a7bcd3f04db473e802.tar.gz
sharkey-5ef8e3123bbc7ff1f28204a7bcd3f04db473e802.tar.bz2
sharkey-5ef8e3123bbc7ff1f28204a7bcd3f04db473e802.zip
upd: only enable hover effect on SkNoteDetailed and replies
Diffstat (limited to 'packages/frontend/src/components/SkNoteDetailed.vue')
-rw-r--r--packages/frontend/src/components/SkNoteDetailed.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/components/SkNoteDetailed.vue b/packages/frontend/src/components/SkNoteDetailed.vue
index 18cba35c0a..5b28a2e8eb 100644
--- a/packages/frontend/src/components/SkNoteDetailed.vue
+++ b/packages/frontend/src/components/SkNoteDetailed.vue
@@ -40,9 +40,9 @@ SPDX-License-Identifier: AGPL-3.0-only
</div>
</div>
<template v-if="appearNote.reply && appearNote.reply.replyId">
- <SkNoteSub v-for="note in conversation" :key="note.id" :class="$style.replyToMore" :note="note" :expandAllCws="props.expandAllCws"/>
+ <SkNoteSub v-for="note in conversation" :key="note.id" :class="$style.replyToMore" :note="note" :expandAllCws="props.expandAllCws" detailed/>
</template>
- <SkNoteSub v-if="appearNote.reply" :note="appearNote.reply" :class="$style.replyTo" :expandAllCws="props.expandAllCws"/>
+ <SkNoteSub v-if="appearNote.reply" :note="appearNote.reply" :class="$style.replyTo" :expandAllCws="props.expandAllCws" detailed/>
<article :id="appearNote.id" ref="noteEl" :class="$style.note" tabindex="-1" @contextmenu.stop="onContextmenu">
<header :class="$style.noteHeader">
<MkAvatar :class="$style.noteHeaderAvatar" :user="appearNote.user" indicator link preview/>
@@ -850,7 +850,7 @@ onUnmounted(() => {
}
.replyToMore {
-
+
}
.renote {