Small fixes

This commit is contained in:
Nassim Jahnke 2022-12-29 16:34:23 +01:00
parent 0117b3bcc4
commit 0382de1b77
No known key found for this signature in database
GPG Key ID: 6BE3B555EBC5982B
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ import prettier from "./src/lib/plugins/prettier";
const backendHost = process.env.BACKEND_HOST || "http://localhost:8080";
const authHost = process.env.AUTH_HOST || "http://localhost:3001";
const local = false; // set to true if backendData should be fetched from localhost
const local = false; // set to true if backendData should be fetched from localhost. You might need to hard reload (Ctrl+F5) the next page you're on when changing this value
const backendDataHost = process.env.BACKEND_DATA_HOST || (local ? "http://localhost:8080" : "https://hangar.papermc.dev");
// https://v3.nuxtjs.org/api/configuration/nuxt.config

View File

@ -115,7 +115,7 @@ function getVisibilityTitle(visibility: Visibility) {
<template>
<div class="flex flex-wrap md:flex-nowrap gap-4">
<section class="basis-full md:basis-9/12 flex-grow">
<section class="basis-full md:basis-11/15 flex-grow">
<ul>
<Alert v-if="!versions || !versions.result || versions.result.length === 0" type="info"> {{ i18n.t("version.page.noVersions") }} </Alert>
<Pagination v-else-if="versions" :items="versions.result">
@ -168,7 +168,7 @@ function getVisibilityTitle(visibility: Visibility) {
</ul>
</section>
<section class="basis-full md:basis-3/12 flex-grow">
<section class="basis-full md:basis-4/15 flex-grow">
<div class="flex flex-col flex-wrap space-y-4">
<div v-if="hasPerms(NamedPermission.CREATE_VERSION)" class="basis-full flex-grow">
<router-link :to="route.path + '/new'">