From 51203b2bc1b53b48034cad0537448c0fe35ec740 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 a1a519f79..2f524c64a 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 113abefd6..9b7f1f5f5 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 15fd627fd..16a8b9536 100644 --- a/packages/client/src/components/MkRenoteButton.vue +++ b/packages/client/src/components/MkRenoteButton.vue @@ -10,8 +10,13 @@

{{ count }}

-