Skip to content

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

Adjust task detail name to make it responsive and limit it to single line

Tianzhou Chendcba34424821
diff --git a/frontend/src/views/TaskHighlightPanel.vue b/frontend/src/views/TaskHighlightPanel.vue
index 9bb1cbb895..40ac3688f8 100644
--- a/frontend/src/views/TaskHighlightPanel.vue
+++ b/frontend/src/views/TaskHighlightPanel.vue
@@ -5,8 +5,9 @@
<div>
<div class="flex items-center">
<TaskStatusIcon v-if="!state.new" :task="task" class="mr-1" />
- <!-- [TODO] overflow-ellipsis/clip doesn't seem to be working, so just use nowrap -->
- <p class="text-xl font-bold leading-7 text-main whitespace-nowrap">
+ <p
+ class="text-xl font-bold leading-7 text-main whitespace-nowrap md:w-96 lg:w-160 truncate"
+ >
{{ task.attributes.name }}
</p>
</div>