Skip to content

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

fix: modal width (#18032)

ecmadao49825c1ca176
diff --git a/frontend/src/components/Plan/components/StatementSection/SchemaEditorDrawer.vue b/frontend/src/components/Plan/components/StatementSection/SchemaEditorDrawer.vue
index 60d9e593de..658d6697f0 100644
--- a/frontend/src/components/Plan/components/StatementSection/SchemaEditorDrawer.vue
+++ b/frontend/src/components/Plan/components/StatementSection/SchemaEditorDrawer.vue
@@ -1,13 +1,9 @@
<template>
- <Drawer
- v-model:show="show"
- placement="right"
- :resizable="true"
- :default-width="'50%'"
- :width="undefined"
- class="max-w-[90vw]!"
- >
- <DrawerContent :title="$t('schema-editor.self')">
+ <Drawer v-model:show="show" placement="right" :resizable="true">
+ <DrawerContent
+ :title="$t('schema-editor.self')"
+ class="w-[70vw] min-w-4xl max-w-[100vw]"
+ >
<div class="flex flex-col gap-y-4 h-full">
<!-- Database selector for multi-database scenarios -->
<div v-if="databases.length > 1" class="flex items-center gap-x-2">
diff --git a/frontend/src/components/ReleaseRemindModal.vue b/frontend/src/components/ReleaseRemindModal.vue
index 5518170b1b..1035417352 100644
--- a/frontend/src/components/ReleaseRemindModal.vue
+++ b/frontend/src/components/ReleaseRemindModal.vue
@@ -1,6 +1,6 @@
<template>
<BBModal :title="$t('remind.release.new-version-available')" @close="onClose">
- <div class="min-w-0 md:min-w-400">
+ <div class="w-xl max-w-[calc(100vw-4rem)]">
<div>
<p class="whitespace-pre-wrap">
<i18n-t keypath="remind.release.new-version-content">