Skip to content

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

TaskDetail style tweak

Tianzhou Chende8f2b281b29
diff --git a/frontend/src/views/TaskDetail.vue b/frontend/src/views/TaskDetail.vue
index c7e43d2c01..2b653b1a70 100644
--- a/frontend/src/views/TaskDetail.vue
+++ b/frontend/src/views/TaskDetail.vue
@@ -5,7 +5,7 @@
tabindex="0"
>
<!-- Highlight Panel -->
- <div class="bg-white">
+ <div class="bg-white px-6 py-6 lg:border-t lg:border-block-border">
<TaskHighlightPanel :task="state.task">
<template v-if="state.new">
<button
@@ -54,7 +54,7 @@
tabindex="-1"
>
<div class="py-6">
- <div class="flex max-w-3xl mx-auto px-4 sm:px-6 lg:px-8 lg:max-w-full">
+ <div class="flex max-w-3xl mx-auto px-4 sm:px-6 lg:max-w-full">
<div
class="flex flex-col flex-1 min-w-0 lg:col-span-2 lg:pr-8 lg:border-r lg:border-gray-200"
>
diff --git a/frontend/src/views/TaskHighlightPanel.vue b/frontend/src/views/TaskHighlightPanel.vue
index 746c3f5469..9bb1cbb895 100644
--- a/frontend/src/views/TaskHighlightPanel.vue
+++ b/frontend/src/views/TaskHighlightPanel.vue
@@ -1,38 +1,32 @@
<template>
- <div class="">
- <div
- class="px-4 py-6 md:flex md:items-center md:justify-between lg:border-t lg:border-block-border"
- >
- <div class="flex-1 min-w-0">
- <div class="flex items-center">
- <div>
- <div class="flex items-center">
- <TaskStatusIcon :task="task" />
- <!-- [TODO] overflow-ellipsis/clip doesn't seem to be working, so just use nowrap -->
- <p
- class="ml-1 text-xl font-bold leading-7 text-main whitespace-nowrap"
- >
- {{ task.attributes.name }}
- </p>
- </div>
- <div v-if="!state.new">
- <p class="mt-2 text-sm text-gray-500">
- #{{ task.id }} opened by
- <span href="#" class="font-medium text-control">{{
- task.attributes.creator.name
- }}</span>
- at
- <span href="#" class="font-medium text-control">{{
- moment(task.attributes.lastUpdatedTs).format("LLL")
- }}</span>
- </p>
- </div>
+ <div class="md:flex md:items-center md:justify-between">
+ <div class="flex-1 min-w-0">
+ <div class="flex items-center">
+ <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">
+ {{ task.attributes.name }}
+ </p>
+ </div>
+ <div v-if="!state.new">
+ <p class="mt-2 text-sm text-gray-500">
+ #{{ task.id }} opened by
+ <span href="#" class="font-medium text-control">{{
+ task.attributes.creator.name
+ }}</span>
+ at
+ <span href="#" class="font-medium text-control">{{
+ moment(task.attributes.lastUpdatedTs).format("LLL")
+ }}</span>
+ </p>
</div>
</div>
</div>
- <div class="mt-6 flex space-x-3 md:mt-0 md:ml-4">
- <slot />
- </div>
+ </div>
+ <div class="mt-6 flex space-x-3 md:mt-0 md:ml-4">
+ <slot />
</div>
</div>
</template>