From 041d3997cd378dc906a48465d4f31a2f289c6d66 Mon Sep 17 00:00:00 2001 From: Freeplay Date: Thu, 23 Feb 2023 20:37:26 -0500 Subject: [PATCH] Make quotes clickable --- packages/client/src/components/MkNote.vue | 6 +++++- packages/client/src/components/MkNoteDetailed.vue | 6 +++++- packages/client/src/components/MkNoteSimple.vue | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 23a25321c..7ebeb6d56 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -61,7 +61,7 @@ -
+
@@ -555,6 +555,10 @@ function readPromo() { padding: 16px; border: solid 1px var(--renote); border-radius: 8px; + transition: background .2s; + &:hover, &:focus-within { + background-color: var(--panelHighlight); + } } } } diff --git a/packages/client/src/components/MkNoteDetailed.vue b/packages/client/src/components/MkNoteDetailed.vue index 864b27022..88e13119f 100644 --- a/packages/client/src/components/MkNoteDetailed.vue +++ b/packages/client/src/components/MkNoteDetailed.vue @@ -68,7 +68,7 @@ -
+
{{ appearNote.channel.name }} @@ -530,6 +530,10 @@ onUnmounted(() => { padding: 16px; border: solid 1px var(--renote); border-radius: 8px; + transition: background .2s; + &:hover, &:focus-within { + background-color: var(--panelHighlight); + } } } } diff --git a/packages/client/src/components/MkNoteSimple.vue b/packages/client/src/components/MkNoteSimple.vue index b882af29a..031c7313f 100644 --- a/packages/client/src/components/MkNoteSimple.vue +++ b/packages/client/src/components/MkNoteSimple.vue @@ -1,5 +1,5 @@