From 96e65c74b08ee010e1aea5c22c52b655d7a421b8 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 12 Jul 2023 01:05:16 -0700 Subject: [PATCH] refactor: :lipstick: max instance name length 37, gradate specific server dono button --- packages/client/src/components/MkDonation.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/client/src/components/MkDonation.vue b/packages/client/src/components/MkDonation.vue index a2352a4e4..6b575f30b 100644 --- a/packages/client/src/components/MkDonation.vue +++ b/packages/client/src/components/MkDonation.vue @@ -28,7 +28,7 @@ > {{ i18n.t("_aboutMisskey.donateHost", { @@ -67,7 +67,7 @@ const emit = defineEmits<{ (ev: "closed"): void; }>(); -const hostname = instance.name?.length <= 20 ? instance.name : host; +const hostname = instance.name?.length < 38 ? instance.name : host; const zIndex = os.claimZIndex("low");