Skip to content

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

Adjust instance and database table column width

天舟ad85fedb5046
diff --git a/frontend/src/components/DatabaseTable.vue b/frontend/src/components/DatabaseTable.vue
index ef5808f5e7..fd31806932 100644
--- a/frontend/src/components/DatabaseTable.vue
+++ b/frontend/src/components/DatabaseTable.vue
@@ -8,13 +8,13 @@
@click-row="clickDatabase"
>
<template v-slot:body="{ rowData: database }">
- <BBTableCell :leftPadding="4" class="w-16">
+ <BBTableCell :leftPadding="4" class="w-12">
{{ database.instance.environment.name }}
</BBTableCell>
- <BBTableCell class="w-36">
+ <BBTableCell class="w-16">
{{ database.name }}
</BBTableCell>
- <BBTableCell class="w-48">
+ <BBTableCell class="w-24">
{{ database.instance.name }}
</BBTableCell>
<BBTableCell class="w-8">
diff --git a/frontend/src/components/InstanceTable.vue b/frontend/src/components/InstanceTable.vue
index 96e4592e2f..ca7cce353b 100644
--- a/frontend/src/components/InstanceTable.vue
+++ b/frontend/src/components/InstanceTable.vue
@@ -8,16 +8,16 @@
@click-row="clickInstance"
>
<template v-slot:body="{ rowData: instance }">
- <BBTableCell :leftPadding="4" class="w-10">
+ <BBTableCell :leftPadding="4" class="w-8">
<img class="h-10 w-auto" src="../assets/db-mysql.svg" />
</BBTableCell>
- <BBTableCell :leftPadding="4" class="w-24">
+ <BBTableCell :leftPadding="4" class="w-16">
{{ environmentName(instance.environment.id) }}
</BBTableCell>
- <BBTableCell class="w-48">
+ <BBTableCell class="w-32">
{{ instance.name }}
</BBTableCell>
- <BBTableCell class="w-64">
+ <BBTableCell class="w-48">
<template v-if="instance.port"
>{{ instance.host }}:{{ instance.port }}</template
><template v-else>{{ instance.host }}</template>
@@ -44,7 +44,7 @@
</svg>
</button>
</BBTableCell>
- <BBTableCell class="w-8">
+ <BBTableCell class="w-16">
{{ humanizeTs(instance.createdTs) }}
</BBTableCell>
</template>