refactor: 💄 max instance name length 37, gradate specific server dono button

This commit is contained in:
ThatOneCalculator 2023-07-12 01:05:16 -07:00
parent c75c9f4b75
commit 1c2fa18f34
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
> >
<MkButton <MkButton
v-if="$instance.donationLink" v-if="$instance.donationLink"
primary gradate
@click="openExternal($instance.donationLink)" @click="openExternal($instance.donationLink)"
>{{ >{{
i18n.t("_aboutMisskey.donateHost", { i18n.t("_aboutMisskey.donateHost", {
@ -67,7 +67,7 @@ const emit = defineEmits<{
(ev: "closed"): void; (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"); const zIndex = os.claimZIndex("low");