Skip to content

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

fix: ui updates (#10458)

ecmadao7be8d34db708
diff --git a/frontend/src/components/ExprEditor/components/FactorSelect.vue b/frontend/src/components/ExprEditor/components/FactorSelect.vue
index 1080e22e30..c3e20005df 100644
--- a/frontend/src/components/ExprEditor/components/FactorSelect.vue
+++ b/frontend/src/components/ExprEditor/components/FactorSelect.vue
@@ -5,7 +5,7 @@
:consistent-menu-width="false"
:disabled="!allowAdmin"
size="small"
- style="width: auto; max-width: 9rem; flex-shrink: 0"
+ style="width: auto; min-width: 7rem; flex-shrink: 0"
/>
</template>
diff --git a/frontend/src/components/QuickActionPanel.vue b/frontend/src/components/QuickActionPanel.vue
index 6ec3a2762e..38fe4d9a10 100644
--- a/frontend/src/components/QuickActionPanel.vue
+++ b/frontend/src/components/QuickActionPanel.vue
@@ -1,7 +1,7 @@
<template>
<div
v-if="availableQuickActionList.length"
- class="pt-1 overflow-hidden grid grid-cols-3 gap-x-2 gap-y-4 md:inline-flex items-stretch"
+ class="overflow-hidden grid grid-cols-3 gap-x-2 gap-y-4 md:inline-flex items-stretch"
v-bind="$attrs"
>
<template
diff --git a/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue b/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue
index 84ab0097c9..9921e737d8 100644
--- a/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue
+++ b/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue
@@ -35,7 +35,7 @@
</h3>
<NSelect
v-model:value="state.maskingLevel"
- style="width: 10rem"
+ style="min-width: 10rem"
:options="options"
:placeholder="$t('settings.sensitive-data.masking-level.selet-level')"
:consistent-menu-width="false"
@@ -48,6 +48,7 @@
<NPopconfirm v-if="allowDelete" @positive-click="$emit('delete')">
<template #trigger>
<NButton
+ quaternary
tag="div"
style="--n-padding: 0 6px; --n-icon-margin: 4px"
:disabled="disabled"
diff --git a/frontend/src/layouts/ProjectV1Layout.vue b/frontend/src/layouts/ProjectV1Layout.vue
index 0fe3b0ea03..758a098f6c 100644
--- a/frontend/src/layouts/ProjectV1Layout.vue
+++ b/frontend/src/layouts/ProjectV1Layout.vue
@@ -1,6 +1,6 @@
<template>
<ArchiveBanner v-if="project.state === State.DELETED" class="py-2" />
- <div class="px-4 pb-4 h-full overflow-auto">
+ <div class="px-4 h-full overflow-auto">
<HideInStandaloneMode>
<template v-if="isDefaultProject">
<h1 class="mb-4 text-xl font-bold leading-6 text-main truncate">
diff --git a/frontend/src/layouts/SettingLayout.vue b/frontend/src/layouts/SettingLayout.vue
index 5a8dbdc119..aeb0aa1696 100644
--- a/frontend/src/layouts/SettingLayout.vue
+++ b/frontend/src/layouts/SettingLayout.vue
@@ -1,5 +1,5 @@
<template>
- <div class="px-6 pb-6 pt-2">
+ <div class="px-6">
<router-view v-if="hasPermission" :allow-edit="allowEdit" v-bind="$attrs" />
<NoPermissionPlaceholder v-else />
</div>
diff --git a/frontend/src/views/ChangeHistoryDetail.vue b/frontend/src/views/ChangeHistoryDetail.vue
index 5ae6df22b0..b1855c5e75 100644
--- a/frontend/src/views/ChangeHistoryDetail.vue
+++ b/frontend/src/views/ChangeHistoryDetail.vue
@@ -8,7 +8,7 @@
>
<div class="flex-1 min-w-0 space-y-3">
<!-- Summary -->
- <div class="pt-2 flex items-center space-x-2">
+ <div class="flex items-center space-x-2">
<ChangeHistoryStatusIcon :status="changeHistory.status" />
<h1 class="text-xl font-bold leading-6 text-main truncate">
{{ $t("common.version") }} {{ changeHistory.version }}
diff --git a/frontend/src/views/project/ProjectIssueDetail.vue b/frontend/src/views/project/ProjectIssueDetail.vue
index c67631aacf..a15df216d9 100644
--- a/frontend/src/views/project/ProjectIssueDetail.vue
+++ b/frontend/src/views/project/ProjectIssueDetail.vue
@@ -1,5 +1,5 @@
<template>
- <div class="w-full h-full relative overflow-x-hidden">
+ <div class="-mx-4 h-full relative overflow-x-hidden">
<template v-if="ready">
<IssueDetailPage v-if="!isGrantRequestIssue(issue)" />
<GrantRequestIssueDetailPage v-else />