From ff7df3cc01bc9c20a66092f56023722e0d960253 Mon Sep 17 00:00:00 2001 From: freeplay Date: Mon, 10 Jul 2023 17:43:02 -0400 Subject: [PATCH] style: use muted repeat icon instead of forbidden for disabled boosts --- packages/client/src/components/MkNote.vue | 3 +++ packages/client/src/components/MkNoteSub.vue | 3 +++ packages/client/src/components/MkRenoteButton.vue | 9 +++++++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index a1a519f79f..2f524c64ad 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -869,6 +869,9 @@ defineExpose({ margin: 0; padding: 8px; opacity: 0.7; + &:disabled { + opacity: 0.5 !important; + } flex-grow: 1; max-width: 3.5em; width: max-content; diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index 113abefd63..9b7f1f5f5d 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -477,6 +477,9 @@ function noteClick(e) { margin: 0; padding: 8px; opacity: 0.7; + &:disabled { + opacity: 0.5 !important; + } flex-grow: 1; max-width: 3.5em; width: max-content; diff --git a/packages/client/src/components/MkRenoteButton.vue b/packages/client/src/components/MkRenoteButton.vue index 15fd627fd7..16a8b95361 100644 --- a/packages/client/src/components/MkRenoteButton.vue +++ b/packages/client/src/components/MkRenoteButton.vue @@ -10,8 +10,13 @@

{{ count }}

-