Skip to content

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

fix: wrong bb modal close button position (#719)

Liu Jib5a44d22cf2f
diff --git a/frontend/src/bbkit/BBModal.vue b/frontend/src/bbkit/BBModal.vue
index cf8489d2fd..f96e87542c 100644
--- a/frontend/src/bbkit/BBModal.vue
+++ b/frontend/src/bbkit/BBModal.vue
@@ -7,7 +7,7 @@
:data-bb-modal-index="index"
:data-bb-modal-active="active"
>
- <div class="relative -mt-4 -ml-4">
+ <div class="relative -mt-4 -ml-4 flex items-center justify-between">
<div class="ml-4 text-xl text-main">
{{ title }}
<div v-if="subtitle" class="text-sm text-control whitespace-nowrap">
@@ -18,7 +18,7 @@
</div>
<button
v-if="showClose"
- class="absolute right-0 top-0 my-4 mx-4 text-control-light"
+ class="text-control-light"
aria-label="close"
@click.prevent="close"
>