Skip to content

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

feat: improve BBAlert Layout (#2688)

tianzhou04ebdf9a9433
diff --git a/frontend/src/bbkit/BBAlert.vue b/frontend/src/bbkit/BBAlert.vue
index fa078b317f..2ea6e1a4c4 100644
--- a/frontend/src/bbkit/BBAlert.vue
+++ b/frontend/src/bbkit/BBAlert.vue
@@ -87,17 +87,8 @@
</div>
</div>
</div>
- <div
- class="mt-5 flex"
- :class="inProgress ? 'justify-between' : 'justify-end'"
- >
- <div
- v-if="inProgress"
- class="flex flex-row justify-start items-center"
- >
- <BBSpin />{{ progressText }}
- </div>
- <div>
+ <div class="mt-5 flex flex-col space-y-4">
+ <div class="flex justify-end">
<button
type="button"
class="btn-normal mt-3 px-4 py-2 sm:mt-0 sm:w-auto"
@@ -118,6 +109,9 @@
{{ $t(okText) }}
</button>
</div>
+ <div v-if="inProgress" class="flex flex-row justify-end items-center">
+ <BBSpin />{{ progressText }}
+ </div>
</div>
</div>
</div>