refactor: 💄 max instance name length 37, gradate specific server dono button
This commit is contained in:
parent
c75c9f4b75
commit
1c2fa18f34
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue