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 e7c6e17c38
commit 96e65c74b0

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");