Skip to content

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

chore: ui fix (#9536)

ecmadaoe1bfe08904d7
diff --git a/frontend/src/components/Branch/BranchCreateView.vue b/frontend/src/components/Branch/BranchCreateView.vue
index 73b254455a..5db0da7bb5 100644
--- a/frontend/src/components/Branch/BranchCreateView.vue
+++ b/frontend/src/components/Branch/BranchCreateView.vue
@@ -1,6 +1,6 @@
<template>
<div
- class="w-full h-full flex flex-col gap-y-3 overflow-y-hidden overflow-x-auto px-4 py-4"
+ class="w-full h-full flex flex-col gap-y-3 overflow-y-hidden overflow-x-auto"
>
<div
v-if="showProjectSelector"
diff --git a/frontend/src/components/Branch/BranchDetailView.vue b/frontend/src/components/Branch/BranchDetailView.vue
index a081d34e6d..1f896a2ab2 100644
--- a/frontend/src/components/Branch/BranchDetailView.vue
+++ b/frontend/src/components/Branch/BranchDetailView.vue
@@ -1,5 +1,5 @@
<template>
- <div class="space-y-3 w-full overflow-x-auto px-4 pt-1" v-bind="$attrs">
+ <div class="space-y-3 w-full overflow-x-auto" v-bind="$attrs">
<div class="w-full flex flex-row justify-between items-center">
<div class="w-full flex flex-row justify-start items-center gap-x-2">
<NInput
diff --git a/frontend/src/components/SlowQuery/Panel/LogFilter.vue b/frontend/src/components/SlowQuery/Panel/LogFilter.vue
index 3a8bdebaf7..ef7e6d4079 100644
--- a/frontend/src/components/SlowQuery/Panel/LogFilter.vue
+++ b/frontend/src/components/SlowQuery/Panel/LogFilter.vue
@@ -17,7 +17,7 @@
/>
</div>
- <div class="flex items-center justify-end gap-x-3">
+ <div class="flex items-center justify-end gap-x-2">
<slot name="suffix" />
</div>
</div>
diff --git a/frontend/src/layouts/ProjectLayout.vue b/frontend/src/layouts/ProjectLayout.vue
index f80f1c7942..53f2467108 100644
--- a/frontend/src/layouts/ProjectLayout.vue
+++ b/frontend/src/layouts/ProjectLayout.vue
@@ -14,7 +14,7 @@
/>
</HideInStandaloneMode>
- <div class="p-6 h-full">
+ <div class="p-6 h-full overflow-auto">
<router-view
:project-slug="projectSlug"
:project-webhook-slug="projectWebhookSlug"
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts
index 4fdf11d73f..d0b2d45d0c 100644
--- a/frontend/src/router/index.ts
+++ b/frontend/src/router/index.ts
@@ -256,18 +256,6 @@ const routes: Array<RouteRecordRaw> = [
leftSidebar: true,
},
},
- {
- path: "/project/:projectSlug/branches/:branchName",
- name: "workspace.branch.detail",
- meta: {
- overrideTitle: true,
- },
- components: {
- content: () => import("../views/branch/BranchDetail.vue"),
- leftSidebar: ProjectSidebar,
- },
- props: { content: true, leftSidebar: true },
- },
{
path: "sync-schema",
name: "workspace.sync-schema",
@@ -734,6 +722,15 @@ const routes: Array<RouteRecordRaw> = [
component: () => import("../views/ProjectWebhookDetail.vue"),
props: true,
},
+ {
+ path: "branches/:branchName",
+ name: "workspace.branch.detail",
+ meta: {
+ overrideTitle: true,
+ },
+ component: () => import("../views/branch/BranchDetail.vue"),
+ props: true,
+ },
],
},
{