summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/SkNoteSimple.vue
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/components/SkNoteSimple.vue')
-rw-r--r--packages/frontend/src/components/SkNoteSimple.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/frontend/src/components/SkNoteSimple.vue b/packages/frontend/src/components/SkNoteSimple.vue
index fe12baedeb..533aa60961 100644
--- a/packages/frontend/src/components/SkNoteSimple.vue
+++ b/packages/frontend/src/components/SkNoteSimple.vue
@@ -14,7 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<MkCwButton v-model="showContent" :text="note.text" :files="note.files" :poll="note.poll" @click.stop/>
</p>
<div v-show="note.cw == null || showContent">
- <MkSubNoteContent :hideFiles="hideFiles" :class="$style.text" :note="note"/>
+ <MkSubNoteContent :hideFiles="hideFiles" :class="$style.text" :note="note" :expandAllCws="props.expandAllCws"/>
</div>
</div>
</div>
@@ -48,6 +48,11 @@ watch(() => props.expandAllCws, (expandAllCws) => {
margin: 0;
padding: 0;
font-size: 0.95em;
+
+ &:hover, &:focus-within {
+ background: var(--panelHighlight);
+ transition: background .2s;
+ }
}
.avatar {