Skip to content

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

Adjust activity delete/edit button to align center to avoid flick when show/hide buttons during user switching

Tianzhou Chena553b8aa2890
diff --git a/frontend/src/views/TaskActivityPanel.vue b/frontend/src/views/TaskActivityPanel.vue
index 23ddf1e36b..78eb6712e2 100644
--- a/frontend/src/views/TaskActivityPanel.vue
+++ b/frontend/src/views/TaskActivityPanel.vue
@@ -97,7 +97,7 @@
currentUser.id == activity.creator.id &&
activity.actionType == 'bytebase.task.comment.create'
"
- class="space-x-2 text-control-light"
+ class="space-x-2 flex items-center text-control-light"
>
<template
v-if="
@@ -125,7 +125,7 @@
</button>
</template>
<!-- mr-2 is to veritical align with the text description edit button-->
- <div v-else class="mr-2 space-x-2">
+ <div v-else class="mr-2 flex items-center space-x-2">
<!-- Delete Comment Button-->
<button
class="btn-icon"