refactor: 💄 max instance name length 37, gradate specific server dono button
This commit is contained in:
parent
c75c9f4b75
commit
1c2fa18f34
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in a new issue