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

View file

@ -28,7 +28,7 @@
>
<MkButton
v-if="$instance.donationLink"
primary
gradate
@click="openExternal($instance.donationLink)"
>{{
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");