Skip to content

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

feat: decrease the height of banner debug and banner readonly to save space (#4703)

Tianzhou (天舟)e4f42633bbc6
diff --git a/frontend/src/components/BannersWrapper.vue b/frontend/src/components/BannersWrapper.vue
index 92f7565563..5b004367ea 100644
--- a/frontend/src/components/BannersWrapper.vue
+++ b/frontend/src/components/BannersWrapper.vue
@@ -9,10 +9,10 @@
<BannerSubscription />
</template>
<template v-if="shouldShowReadonlyBanner">
- <div
- class="px-3 py-1 w-full text-lg font-medium bg-yellow-500 text-white flex justify-center items-center"
- >
- {{ $t("banner.readonly") }}
+ <div class="bg-info">
+ <div class="text-center py-1 px-3 font-medium text-white truncate">
+ {{ $t("banner.readonly") }}
+ </div>
</div>
</template>
<template v-if="shouldShowExternalUrlBanner">
diff --git a/frontend/src/views/BannerDebug.vue b/frontend/src/views/BannerDebug.vue
index 77c08932d8..dcb70698df 100644
--- a/frontend/src/views/BannerDebug.vue
+++ b/frontend/src/views/BannerDebug.vue
@@ -1,6 +1,6 @@
<template>
<div class="bg-warning">
- <div class="text-center py-3 px-3 font-medium text-white truncate">
+ <div class="text-center py-1 px-3 font-medium text-white truncate">
{{ $t("banner.debug") }}
</div>
</div>