Skip to content

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

fix(frontend): text overflow in debug log table (#6206)

Liu Ji538dbf9c3c1a
diff --git a/frontend/src/components/DebugLog/DebugLogTable.vue b/frontend/src/components/DebugLog/DebugLogTable.vue
index be0d507b03..e4c1603b9d 100644
--- a/frontend/src/components/DebugLog/DebugLogTable.vue
+++ b/frontend/src/components/DebugLog/DebugLogTable.vue
@@ -25,7 +25,9 @@
<div v-else>{{ debugLog.Role }}</div>
</BBTableCell>
<BBTableCell class="table-cell pt-3">
- <EllipsisText :line-clamp="2">{{ debugLog.Error }}</EllipsisText>
+ <EllipsisText class="max-w-full" :line-clamp="2">{{
+ debugLog.Error
+ }}</EllipsisText>
</BBTableCell>
<BBTableCell class="table-cell w-28">
<div class="tooltip-wrapper">
diff --git a/frontend/src/components/EllipsisText.vue b/frontend/src/components/EllipsisText.vue
index 63979a1945..fe5dec6ace 100644
--- a/frontend/src/components/EllipsisText.vue
+++ b/frontend/src/components/EllipsisText.vue
@@ -31,5 +31,6 @@ const tooltipStyle = `
padding-bottom: 0.25rem;
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
+ max-width: 80vw;
`;
</script>