Skip to content

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

fix: improve matrix style (#775)

tianzhou9d0e64a24365
diff --git a/frontend/src/components/TenantDatabaseTable/DatabaseMatrixItem.vue b/frontend/src/components/TenantDatabaseTable/DatabaseMatrixItem.vue
index b8f9aaaa2b..8d105d0841 100644
--- a/frontend/src/components/TenantDatabaseTable/DatabaseMatrixItem.vue
+++ b/frontend/src/components/TenantDatabaseTable/DatabaseMatrixItem.vue
@@ -7,25 +7,29 @@
}"
>
<template #trigger>
- <div
- class="border rounded-sm flex items-center p-1 select-none space-x-1"
- >
+ <div class="flex items-center select-none space-x-2">
<div class="sync-status">
<heroicons-solid:check
v-if="database.syncStatus === 'OK'"
- class="w-9 h-9 text-success"
+ class="p-1 w-8 h-8 bg-success text-white"
+ />
+ <heroicons-outline:exclamation
+ v-else
+ class="p-1 w-8 h-8 bg-warning text-white"
/>
- <heroicons-outline:exclamation v-else class="w-9 h-9 text-warning" />
</div>
<div class="flex flex-col items-start">
<router-link
:to="databaseDetailUrl"
- class="whitespace-nowrap hover:underline"
+ class="text-main whitespace-nowrap hover:underline"
>
{{ database.name }}
</router-link>
- <router-link :to="schemaVersionUrl" class="hover:underline">
+ <router-link
+ :to="schemaVersionUrl"
+ class="text-sm text-control hover:underline"
+ >
{{ database.schemaVersion }}
</router-link>
</div>
diff --git a/store/seed/test/10070__db.sql b/store/seed/test/10070__db.sql
index cec21d275a..b53ad753e6 100644
--- a/store/seed/test/10070__db.sql
+++ b/store/seed/test/10070__db.sql
@@ -837,7 +837,7 @@ VALUES
'game_echo_island',
'utf8mb4',
'utf8mb4_general_ci',
- 'OK',
+ 'NOT_FOUND',
1624558090,
'2022v0'
);