Skip to content

Commit

Permalink
fix: linting
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Oct 16, 2024
1 parent 5eb5098 commit 6c1c816
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions apps/frontend/src/pages/servers/manage/[id]/options/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@
<span> Change the name of your server. This name is only visible on Modrinth. </span>
</label>
<div class="flex flex-col gap-2">
<input v-model="serverName" class="w-full md:w-[50%]" @keyup.enter="!serverName && saveGeneral" maxlength="64" minlength="1" />
<span v-if="!serverName" class="text-rose-400 text-sm">
<input
v-model="serverName"
class="w-full md:w-[50%]"
@keyup.enter="!serverName && saveGeneral"
maxlength="64"
minlength="1"
/>
<span v-if="!serverName" class="text-sm text-rose-400">
Server name must be at least 1 character long.
</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<textarea
:id="index.toString()"
:value="JSON.stringify(property, null, 2)"
class="w-full rounded-xl border p-2 resize-y"
class="w-full resize-y rounded-xl border p-2"
></textarea>
</div>
<div v-else class="w-[320px]">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</label>
<textarea
v-model="invocation"
class="min-h-[270px] resize-y w-full font-[family-name:var(--mono-font)]"
class="min-h-[270px] w-full resize-y font-[family-name:var(--mono-font)]"
/>
</div>

Expand Down

0 comments on commit 6c1c816

Please sign in to comment.