Skip to content

Commit 6c1c816

Browse files
committed
fix: linting
1 parent 5eb5098 commit 6c1c816

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

apps/frontend/src/pages/servers/manage/[id]/options/index.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,14 @@
88
<span> Change the name of your server. This name is only visible on Modrinth. </span>
99
</label>
1010
<div class="flex flex-col gap-2">
11-
<input v-model="serverName" class="w-full md:w-[50%]" @keyup.enter="!serverName && saveGeneral" maxlength="64" minlength="1" />
12-
<span v-if="!serverName" class="text-rose-400 text-sm">
11+
<input
12+
v-model="serverName"
13+
class="w-full md:w-[50%]"
14+
@keyup.enter="!serverName && saveGeneral"
15+
maxlength="64"
16+
minlength="1"
17+
/>
18+
<span v-if="!serverName" class="text-sm text-rose-400">
1319
Server name must be at least 1 character long.
1420
</span>
1521
</div>

apps/frontend/src/pages/servers/manage/[id]/options/properties.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<textarea
7070
:id="index.toString()"
7171
:value="JSON.stringify(property, null, 2)"
72-
class="w-full rounded-xl border p-2 resize-y"
72+
class="w-full resize-y rounded-xl border p-2"
7373
></textarea>
7474
</div>
7575
<div v-else class="w-[320px]">

apps/frontend/src/pages/servers/manage/[id]/options/startup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</label>
1414
<textarea
1515
v-model="invocation"
16-
class="min-h-[270px] resize-y w-full font-[family-name:var(--mono-font)]"
16+
class="min-h-[270px] w-full resize-y font-[family-name:var(--mono-font)]"
1717
/>
1818
</div>
1919

0 commit comments

Comments
 (0)