Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: tweak 403/404 style (#15541)

boojack8f87b7e21a8d
diff --git a/frontend/src/views/Page403.vue b/frontend/src/views/Page403.vue
index 5b7c0ce68b..5144808463 100644
--- a/frontend/src/views/Page403.vue
+++ b/frontend/src/views/Page403.vue
@@ -1,11 +1,13 @@
<template>
- <div class="w-full px-4 md:grid md:place-items-center py-24">
+ <div class="w-full px-4 grid place-items-center py-24">
<img
class="w-16 h-auto opacity-80"
src="@/assets/logo-icon.svg"
alt="Bytebase"
/>
- <p class="mt-4">{{ $t("common.missing-required-permission") }}</p>
+ <p class="mt-4 text-balance text-center">
+ {{ $t("common.missing-required-permission") }}
+ </p>
<div class="mt-12">
<NButton size="small" @click.prevent="goHome">
<template #icon><ChevronLeftIcon /></template>
diff --git a/frontend/src/views/Page404.vue b/frontend/src/views/Page404.vue
index 57f8cc723f..ba97fbfbcc 100644
--- a/frontend/src/views/Page404.vue
+++ b/frontend/src/views/Page404.vue
@@ -1,11 +1,13 @@
<template>
- <div class="w-full px-4 md:grid md:place-items-center py-24">
+ <div class="w-full px-4 grid place-items-center py-24">
<img
class="w-16 h-auto opacity-80"
src="@/assets/logo-icon.svg"
alt="Bytebase"
/>
- <p class="mt-4">{{ $t("common.resource-not-found") }}</p>
+ <p class="mt-4 text-balance text-center">
+ {{ $t("common.resource-not-found") }}
+ </p>
<div class="mt-12">
<NButton size="small" @click.prevent="goHome">
<template #icon><ChevronLeftIcon /></template>