Skip to content

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

Make BBTableCell use max-w-prose and make TaskTable name column to truncate incase long name

Tianzhou Chen6a5cf4cef89f
diff --git a/frontend/src/bbkit/BBTable/BBTableCell.vue b/frontend/src/bbkit/BBTable/BBTableCell.vue
index a0888ff593..45ede3d36b 100644
--- a/frontend/src/bbkit/BBTable/BBTableCell.vue
+++ b/frontend/src/bbkit/BBTable/BBTableCell.vue
@@ -1,6 +1,6 @@
<template>
<td
- class="table-cell text-sm leading-5 py-2"
+ class="table-cell text-sm leading-5 py-2 max-w-prose"
:class="`pl-` + leftPadding + ` pr-` + rightPadding"
>
<slot />
diff --git a/frontend/src/components/TaskTable.vue b/frontend/src/components/TaskTable.vue
index a60a72910b..907c73cc8c 100644
--- a/frontend/src/components/TaskTable.vue
+++ b/frontend/src/components/TaskTable.vue
@@ -23,7 +23,7 @@
<BBTableCell class="w-24 table-cell">
{{ activeEnvironmentName(task) }}
</BBTableCell>
- <BBTableCell :leftPadding="1" class="w-auto">
+ <BBTableCell :leftPadding="1" class="truncate">
{{ task.attributes.name }}
</BBTableCell>
<BBTableCell class="w-12 hidden sm:table-cell">