Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: migrate all Tailwind space-* utilities to gap-* utilities (#18013)
boojack5831924b4b99
diff --git a/frontend/.claude/BUTTON_SPACING_STANDARDIZATION.md b/frontend/.claude/BUTTON_SPACING_STANDARDIZATION.mdindex f64b1a9641..b8c1794c85 100644--- a/frontend/.claude/BUTTON_SPACING_STANDARDIZATION.md+++ b/frontend/.claude/BUTTON_SPACING_STANDARDIZATION.md@@ -1,90 +1,65 @@-# Button Spacing Standardization Plan+# Button Spacing Standardization-## Executive Summary+## Overview-This document outlines the plan to standardize button spacing across the Bytebase frontend codebase. Currently, button spacing is inconsistent, using both `space-x` and `gap-x` utilities with varying values (1-6).+This document defines the spacing standards for button groups and general layout spacing in the Bytebase frontend codebase.-## Current State Analysis+## Spacing Standards-### Statistics-- **Total occurrences**: 616+ spacing utilities in Vue files- - `space-x-*`: 199 occurrences across 134 files- - `gap-x-*`: 417 occurrences across 255 files--### Issues Identified--1. **Mixed Utilities**: Both `space-x` and `gap-x` used interchangeably-2. **Inconsistent Values**: Multiple spacing values for similar contexts-3. **No Clear Standards**: No documented guidelines for when to use which spacing--### Common Patterns Found--**Modal/Drawer Footers:**-- `space-x-2` (older components)-- `gap-x-3` (newer components)-- `space-x-3` (mixed)--**Toolbar Actions:**-- `space-x-2`-- `gap-x-2`--**Inline Button Groups:**-- Values range from `1` to `4`--## Proposed Standards--### 1. Utility Choice: Use `gap-x` Over `space-x`--**Rationale:**-- `gap-x` works better with flexbox and grid layouts-- `gap-x` doesn't add spacing to the last child (cleaner)-- Newer components already prefer `gap-x`-- Better browser support for modern CSS--### 2. Simplified Spacing Standard+### Standard Spacing Value**ONE STANDARD TO RULE THEM ALL:**-| Value | Pixels | Use Case |-|-------|--------|----------|-| `gap-x-2` | 8px | **ALL button groups** (modals, drawers, toolbars, inline actions) |+| Value | Pixels | Use Case |+| --------- | ------ | ----------------------------------------------------------------- |+| `gap-x-2` | 8px | **ALL button groups** (modals, drawers, toolbars, inline actions) |-**Optional (Rare cases only - use sparingly):**+**Optional (Rare cases only):**-| Value | Pixels | Use Case | Example |-|-------|--------|----------|---------|-| `gap-x-1` | 4px | Extremely tight spacing when space is critical | Dense icon toolbars (rare) |+| Value | Pixels | Use Case |+| --------- | ------ | --------------------------------------------- |+| `gap-x-1` | 4px | Extremely tight spacing (dense icon toolbars) |++### Why This Simplification?-**Why This Simplification?**- ✅ **Easier to remember**: One standard for all button groups- ✅ **Easier to maintain**: No need to decide between gap-x-2 vs gap-x-3- ✅ **Consistent UX**: Uniform spacing across the entire application-- ✅ **Faster implementation**: Less decision-making during migration+- ✅ **Faster implementation**: Less decision-making during development- ✅ **Simpler code reviews**: Clear yes/no - is it gap-x-2?-### 3. Context-Specific Guidelines+## Usage Guidelines++### Modal/Drawer Footers-#### Modal/Drawer Footers (Action Buttons)```vue-<!-- ✅ STANDARD: Use gap-x-2 for modal/drawer footers -->+<!-- ✅ CORRECT: Use gap-x-2 for modal/drawer footers --><div class="flex justify-end gap-x-2"><NButton @click="cancel">Cancel</NButton><NButton type="primary" @click="confirm">Confirm</NButton></div>++<!-- ❌ WRONG: Never use space-x -->+<div class="flex justify-end space-x-2">+ <NButton @click="cancel">Cancel</NButton>+ <NButton type="primary" @click="confirm">Confirm</NButton>+</div>```-#### Inline Action Buttons+### Inline Action Buttons+```vue-<!-- ✅ STANDARD: Use gap-x-2 for inline action buttons -->+<!-- ✅ CORRECT: Use gap-x-2 for inline action buttons --><div class="flex items-center gap-x-2"><NButton>Edit</NButton><NButton>Delete</NButton></div>```-#### Toolbar Actions+### Toolbar Actions+```vue-<!-- ✅ STANDARD: Use gap-x-2 for toolbar buttons -->+<!-- ✅ CORRECT: Use gap-x-2 for toolbar buttons --><div class="flex items-center gap-x-2"><NButton>Export</NButton><NButton>Import</NButton>@@ -92,33 +67,152 @@ This document outlines the plan to standardize button spacing across the Bytebas</div>```-#### Icon Button Groups (Optional - Only When Space is Critical)+### Vertical Spacing+```vue-<!-- ⚠️ OPTIONAL: Use gap-x-1 only for very tight icon groups -->-<div class="flex items-center gap-x-1">- <NButton quaternary circle><Icon /></NButton>- <NButton quaternary circle><Icon /></NButton>+<!-- ✅ CORRECT: Use flex flex-col with gap-y-* -->+<div class="flex flex-col gap-y-4">+ <div>Section 1</div>+ <div>Section 2</div>+ <div>Section 3</div></div>+<!-- ❌ WRONG: Never use space-y -->+<div class="space-y-4">+ <div>Section 1</div>+ <div>Section 2</div>+</div>+```++### Icon Button Groups++```vue<!-- ✅ PREFERRED: Use gap-x-2 even for icons when possible --><div class="flex items-center gap-x-2"><NButton quaternary circle><Icon /></NButton><NButton quaternary circle><Icon /></NButton></div>++<!-- ⚠️ OPTIONAL: Use gap-x-1 only when space is critical -->+<div class="flex items-center gap-x-1">+ <NButton quaternary circle><Icon /></NButton>+ <NButton quaternary circle><Icon /></NButton>+</div>```-## Exceptions & Special Cases+## Important Notes++### Always Add Flex Direction++When using `gap-*` utilities, always include the appropriate flex direction:++```vue+<!-- ✅ CORRECT: Horizontal spacing with flex -->+<div class="flex gap-x-2">...</div>++<!-- ✅ CORRECT: Vertical spacing with flex flex-col -->+<div class="flex flex-col gap-y-4">...</div>++<!-- ❌ WRONG: gap-* without flex context -->+<div class="gap-x-2">...</div>+```-### When NOT to Change+### Grid Layouts++`gap-*` works with both flexbox and grid:++```vue+<!-- ✅ Works with grid too -->+<div class="grid grid-cols-3 gap-4">+ <div>Item 1</div>+ <div>Item 2</div>+ <div>Item 3</div>+</div>+```++### Wrapping Layouts++`gap-*` handles wrapped items correctly:++```vue+<!-- ✅ CORRECT: gap-* works perfectly with flex-wrap -->+<div class="flex flex-wrap gap-x-2 gap-y-2">+ <NButton>Button 1</NButton>+ <NButton>Button 2</NButton>+ <NButton>Button 3</NButton>+ <!-- Buttons wrap correctly with consistent spacing -->+</div>++<!-- ❌ WRONG: space-* breaks when items wrap -->+<div class="flex flex-wrap space-x-2">+ <!-- Spacing breaks on wrapped lines -->+</div>+```++## Code Review Checklist++When reviewing code or creating new components, verify:++- ✅ Uses `gap-x-2` for button groups+- ✅ Uses `gap-x-*` or `gap-y-*` for ALL spacing needs+- ✅ Has `flex` or `flex flex-col` when using `gap-*`+- ❌ **REJECT** any use of `space-x-*` or `space-y-*`++## Exceptions++The following cases may deviate from the standard:1. **Third-party components** - Don't modify vendored code-2. **Intentional tight spacing** - Document why if < gap-x-1-3. **Responsive designs** - May need different spacing at breakpoints-4. **Legacy compatibility** - If component is being deprecated+2. **Documented tight spacing** - If using `gap-x-1`, document why+3. **Responsive designs** - May use different spacing at breakpoints (e.g., `gap-x-2 md:gap-x-4`)++## Quick Reference-### Non-Button Spacing+### Do This ✅++```vue+<!-- Horizontal button group -->+<div class="flex gap-x-2">+ <NButton>Cancel</NButton>+ <NButton type="primary">Confirm</NButton>+</div>++<!-- Vertical stack -->+<div class="flex flex-col gap-y-4">+ <div>Item 1</div>+ <div>Item 2</div>+</div>++<!-- Wrapped layout -->+<div class="flex flex-wrap gap-2">+ <NBadge />+ <NBadge />+ <NBadge />+</div>+```++### NOT This ❌++```vue+<!-- NEVER use space-x or space-y -->+<div class="flex space-x-2">+ <NButton>Cancel</NButton>+ <NButton>Confirm</NButton>+</div>++<div class="space-y-4">+ <div>Item 1</div>+ <div>Item 2</div>+</div>+```++## Verification++To check for violations in your code:++```bash+# Should return no results+grep -r "space-[xy]-[0-9]" src/components --include="*.vue"+```-This plan focuses on button groups. Other spacing contexts:-- Form field spacing: Separate guideline-- List item spacing: Separate guideline-- Card spacing: Separate guideline+If you find `space-*` utilities, replace them with `gap-*` immediately.diff --git a/frontend/src/assets/css/tailwind.css b/frontend/src/assets/css/tailwind.cssindex 8c22bc5169..fe5b5d1be4 100644--- a/frontend/src/assets/css/tailwind.css+++ b/frontend/src/assets/css/tailwind.css@@ -1,4 +1,4 @@-@import 'tailwindcss';+@import "tailwindcss";/*Colors for dark theme@@ -50,7 +50,7 @@}/* Remove the ticker in the number field for Firefox */- &input[type='number'] {+ &input[type="number"] {-moz-appearance: textfield;}}@@ -223,7 +223,7 @@}.radio-set-col {- @apply flex flex-col space-y-2;+ @apply flex flex-col gap-y-2;}.radio {diff --git a/frontend/src/components/AdvancedSearch/AdvancedSearch.vue b/frontend/src/components/AdvancedSearch/AdvancedSearch.vueindex dbe002d302..84371feda7 100644--- a/frontend/src/components/AdvancedSearch/AdvancedSearch.vue+++ b/frontend/src/components/AdvancedSearch/AdvancedSearch.vue@@ -16,7 +16,7 @@'max-width': `calc(${containerWidth}px - 14rem)`,}">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><FilterIcon class="w-4 h-4 text-control-placeholder" /><span class="textinfolabel">{{ $t("issue.advanced-search.filter") }}diff --git a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vueindex 733152a421..02157c1a29 100644--- a/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue+++ b/frontend/src/components/AlterSchemaPrepForm/SchemaEditorModal.vue@@ -489,7 +489,7 @@ const renderEmptyGeneratedDDLContent = (databases: ComposedDatabase[]) => {return h("ul",{- class: "text-sm space-y-1 max-h-80 overflow-y-auto",+ class: "text-sm flex flex-col gap-y-1 max-h-80 overflow-y-auto",},children);diff --git a/frontend/src/components/Changelog/ChangelogDataTable.vue b/frontend/src/components/Changelog/ChangelogDataTable.vueindex f8557ed38e..8d1823031f 100644--- a/frontend/src/components/Changelog/ChangelogDataTable.vue+++ b/frontend/src/components/Changelog/ChangelogDataTable.vue@@ -131,7 +131,7 @@ const columnList = computed(() => {const tables = getAffectedTablesOfChangelog(changelog);if (tables.length === 0) return "-";return (- <p class="space-x-2 truncate">+ <p class="flex gap-x-2 truncate">{tables.map((table) => (<span class={table.dropped ? "text-gray-400 italic" : ""}>{getAffectedTableDisplayName(table)}diff --git a/frontend/src/components/Changelog/ChangelogDetail.vue b/frontend/src/components/Changelog/ChangelogDetail.vueindex 1c838d830a..845729e6de 100644--- a/frontend/src/components/Changelog/ChangelogDetail.vue+++ b/frontend/src/components/Changelog/ChangelogDetail.vue@@ -12,9 +12,9 @@<divclass="pb-4 border-b border-block-border md:flex md:items-center md:justify-between">- <div class="flex-1 min-w-0 space-y-3">+ <div class="flex-1 min-w-0 flex flex-col gap-y-3"><!-- Summary -->- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><ChangelogStatusIcon :status="changelog.status" /><NTag round>{{@@ -30,9 +30,7 @@)?.toLocaleString()}}</span></div>- <dl- class="flex flex-col space-y-1 md:space-y-0 md:flex-row md:flex-wrap"- >+ <dl class="flex flex-col gap-y-1 md:gap-y-0 md:flex-row md:flex-wrap"><dt class="sr-only">{{ $t("common.issue") }}</dt><dd class="flex items-center text-sm md:mr-4"><span class="textlabel"@@ -88,7 +86,7 @@<CopyButton size="small" :content="changelogSchema" /></p><div class="flex flex-row items-center gap-x-2">- <div v-if="allowShowDiff" class="flex space-x-1 items-center">+ <div v-if="allowShowDiff" class="flex gap-x-1 items-center"><NSwitch:value="state.showDiff"size="small"diff --git a/frontend/src/components/ColumnDataTable/LabelsCell.vue b/frontend/src/components/ColumnDataTable/LabelsCell.vueindex 1700e3741b..e9f3c789eb 100644--- a/frontend/src/components/ColumnDataTable/LabelsCell.vue+++ b/frontend/src/components/ColumnDataTable/LabelsCell.vue@@ -1,5 +1,5 @@<template>- <div class="flex items-center space-x-1">+ <div class="flex items-center gap-x-1"><LabelsCell :labels="labels" :show-count="2" /><buttonv-if="!readonly"diff --git a/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepPanel.vue b/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepPanel.vueindex 60ea55cc24..1b031dbca9 100644--- a/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepPanel.vue+++ b/frontend/src/components/CreateDatabasePrepForm/CreateDatabasePrepPanel.vue@@ -3,7 +3,7 @@:title="$t('quick-action.create-db')"class="w-[40rem] max-w-[100vw]">- <div class="mx-auto space-y-4">+ <div class="mx-auto flex flex-col gap-y-4"><div v-if="!isValidProjectName(currentProject.name)" class="w-full"><label for="project" class="textlabel">{{ $t("common.project") }}diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vueindex ede50d99cf..44b62e41b4 100644--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vue+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowTable.vue@@ -1,7 +1,7 @@<template>- <div class="space-y-6">+ <div class="flex flex-col gap-y-6"><!-- Built-in Flows Section -->- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><div><h3 class="text-base font-medium">{{ $t("custom-approval.approval-flow.built-in") }}@@ -21,7 +21,7 @@</div><!-- Custom Flows Section -->- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><h3 class="text-base font-medium">{{ $t("custom-approval.approval-flow.custom") }}</h3>diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowsPanel.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowsPanel.vueindex 95cd4efb17..787b1a44ac 100644--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowsPanel.vue+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/FlowsPanel/FlowsPanel.vue@@ -1,5 +1,5 @@<template>- <div class="flex flex-col items-end space-y-4">+ <div class="flex flex-col items-end gap-y-4"><FlowsToolbar /><FlowTable /></div>diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RuleDialog/RuleForm.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RuleDialog/RuleForm.vueindex 9c59a3f254..e32d9aec6e 100644--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RuleDialog/RuleForm.vue+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RuleDialog/RuleForm.vue@@ -1,8 +1,10 @@<template><div class="max-h-[calc(100vh-10rem)] flex flex-col gap-y-4 text-sm">- <div class="flex-1 flex flex-col px-0.5 overflow-hidden space-y-4">- <div class="space-y-1">- <label class="block font-medium text-control space-x-1">+ <div+ class="flex-1 flex flex-col px-0.5 overflow-hidden flex flex-col gap-y-4"+ >+ <div class="flex flex-col gap-y-1">+ <label class="block font-medium text-control flex gap-x-1"><RequiredStar />{{ $t("common.name") }}</label>@@ -15,8 +17,8 @@@update:value="$emit('update')"/></div>- <div class="space-y-1">- <label class="block font-medium text-control space-x-1">+ <div class="flex flex-col gap-y-1">+ <label class="block font-medium text-control flex gap-x-1"><RequiredStar />{{ $t("common.description") }}</label>@@ -31,15 +33,15 @@@update:value="$emit('update')"/></div>- <div class="w-full flex-1 space-y-1 overflow-y-auto">- <label class="block font-medium text-control space-x-1">+ <div class="w-full flex-1 flex flex-col gap-y-1 overflow-y-auto">+ <label class="block font-medium text-control flex gap-x-1"><RequiredStar />{{ $t("custom-approval.approval-flow.node.nodes") }}</label><div class="text-control-light">{{ $t("custom-approval.approval-flow.node.description") }}</div>- <div class="py-1 space-y-2">+ <div class="py-1 flex flex-col gap-y-2"><StepsTablev-if="state.rule.template.flow":flow="state.rule.template.flow"diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesPanel.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesPanel.vueindex 7b0c0c11ab..713bf4205e 100644--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesPanel.vue+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesPanel.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><RulesSectionv-for="source in supportedSourceList":key="source"diff --git a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesSection.vue b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesSection.vueindex 6777c48730..b53bf8586b 100644--- a/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesSection.vue+++ b/frontend/src/components/CustomApproval/Settings/components/CustomApproval/RulesPanel/RulesSection.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><div class="flex items-center justify-start"><div class="font-medium text-base">{{ sourceText(source) }}@@ -57,7 +57,7 @@ const columns = computed((): DataTableColumn<Row>[] => {title: t("custom-approval.approval-flow.self"),key: "rule",render: (row) => (- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><RuleSelectclass="flex-1 max-w-md min-w-40"value={row.rule}diff --git a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskCenter.vue b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskCenter.vueindex a6471c01da..dce1016b13 100644--- a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskCenter.vue+++ b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskCenter.vue@@ -11,7 +11,7 @@</template></RiskFilter>- <div class="space-y-4 pb-4">+ <div class="flex flex-col gap-y-4 pb-4"><RiskSectionv-for="{ source, riskList } in riskListGroupBySource":key="source"diff --git a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RiskForm.vue b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RiskForm.vueindex 6110dd911c..8788841731 100644--- a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RiskForm.vue+++ b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskDialog/RiskForm.vue@@ -2,9 +2,9 @@<divclass="w-[calc(100vw-8rem)] lg:max-w-[75vw] 2xl:max-w-[55vw] max-h-[calc(100vh-10rem)] flex flex-col">- <div class="flex-1 flex flex-col divide-y overflow-hidden">+ <div class="flex-1 flex flex-col overflow-hidden"><div class="flex items-start gap-x-4 mb-4">- <div class="space-y-2 flex-1">+ <div class="flex flex-col gap-y-2 flex-1"><label class="block font-medium text-sm text-control">{{ $t("common.name") }}</label>@@ -15,7 +15,7 @@@input="$emit('update')"/></div>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><label class="block font-medium text-sm text-control">{{ $t("custom-approval.risk-rule.risk.self") }}</label>@@ -25,7 +25,7 @@@update:value="$emit('update')"/></div>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><label class="block font-medium text-sm text-control">{{ $t("custom-approval.risk-rule.source.self") }}</label>@@ -39,7 +39,9 @@</div><div class="flex-1 flex items-stretch gap-x-4 overflow-hidden">- <div class="flex-1 space-y-2 py-4 overflow-x-hidden overflow-y-auto">+ <div+ class="flex-1 flex flex-col gap-y-2 py-4 overflow-x-hidden overflow-y-auto"+ ><h3 class="font-medium text-sm text-control">{{ $t("cel.condition.self") }}</h3>diff --git a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskSection.vue b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskSection.vueindex 076cb05874..03ff5cd654 100644--- a/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskSection.vue+++ b/frontend/src/components/CustomApproval/Settings/components/RiskCenter/RiskSection.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><div class="flex items-center justify-start"><div class="font-medium text-base">{{ sourceText(source) }}diff --git a/frontend/src/components/CustomApproval/Settings/components/common/RiskFilter/RiskFilter.vue b/frontend/src/components/CustomApproval/Settings/components/common/RiskFilter/RiskFilter.vueindex ad782a7695..8b8c275384 100644--- a/frontend/src/components/CustomApproval/Settings/components/common/RiskFilter/RiskFilter.vue+++ b/frontend/src/components/CustomApproval/Settings/components/common/RiskFilter/RiskFilter.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><divclass="flex flex-col md:flex-row md:items-center justify-between gap-y-2">diff --git a/frontend/src/components/CustomApproval/Settings/components/common/utils.ts b/frontend/src/components/CustomApproval/Settings/components/common/utils.tsindex 51b9090133..504352c491 100644--- a/frontend/src/components/CustomApproval/Settings/components/common/utils.ts+++ b/frontend/src/components/CustomApproval/Settings/components/common/utils.ts@@ -155,7 +155,7 @@ export const getRenderOptionFunc = (resource: {return (info: { node: VNode; selected: boolean }) => {return h(info.node,- { class: "flex items-center justify-between space-x-4" },+ { class: "flex items-center justify-between gap-x-4" },[h("div", { class: "flex flex-col px-1 py-1 z-10" }, [typeof resource.title === "string"diff --git a/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vue b/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vueindex faa79a842d..d79ad2fadd 100644--- a/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vue+++ b/frontend/src/components/DataExportPrepForm/DataExportPrepForm.vue@@ -9,7 +9,7 @@</template><div- class="space-y-4 h-full w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)] overflow-x-auto"+ class="flex flex-col gap-y-4 h-full w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)] overflow-x-auto"><DatabaseAndGroupSelector:project="project"diff --git a/frontend/src/components/Database/DatabaseChangelogPanel.vue b/frontend/src/components/Database/DatabaseChangelogPanel.vueindex 6414480162..aa4b7291da 100644--- a/frontend/src/components/Database/DatabaseChangelogPanel.vue+++ b/frontend/src/components/Database/DatabaseChangelogPanel.vue@@ -1,7 +1,7 @@<template>- <div class="flex flex-col space-y-4" v-bind="$attrs">- <div class="w-full flex flex-row justify-between items-center space-x-2">- <div class="flex flex-row justify-start items-center space-x-4">+ <div class="flex flex-col gap-y-4" v-bind="$attrs">+ <div class="w-full flex flex-row justify-between items-center gap-x-2">+ <div class="flex flex-row justify-start items-center gap-x-4"><div class="w-52"><AffectedTablesSelectv-model:tables="state.selectedAffectedTables"diff --git a/frontend/src/components/Database/DatabaseOverviewPanel.vue b/frontend/src/components/Database/DatabaseOverviewPanel.vueindex f6dbe37e45..4df5648a3f 100644--- a/frontend/src/components/Database/DatabaseOverviewPanel.vue+++ b/frontend/src/components/Database/DatabaseOverviewPanel.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-6 divide-y divide-block-border">+ <div class="flex flex-col gap-y-6 divide-y divide-block-border"><!-- Description list --><DatabaseOverviewInfo :database="database" />diff --git a/frontend/src/components/Database/DatabaseRevisionPanel.vue b/frontend/src/components/Database/DatabaseRevisionPanel.vueindex 1229bbf158..20f980c10c 100644--- a/frontend/src/components/Database/DatabaseRevisionPanel.vue+++ b/frontend/src/components/Database/DatabaseRevisionPanel.vue@@ -1,5 +1,5 @@<template>- <div class="flex flex-col space-y-2" v-bind="$attrs">+ <div class="flex flex-col gap-y-2" v-bind="$attrs"><div class="flex justify-between items-center"><div></div><NButton type="primary" @click="showCreateRevisionDrawer = true">diff --git a/frontend/src/components/Database/DatabaseSensitiveDataPanel.vue b/frontend/src/components/Database/DatabaseSensitiveDataPanel.vueindex 858aadafb7..43fb22ad07 100644--- a/frontend/src/components/Database/DatabaseSensitiveDataPanel.vue+++ b/frontend/src/components/Database/DatabaseSensitiveDataPanel.vue@@ -1,11 +1,11 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><FeatureAttention:feature="PlanFeature.FEATURE_DATA_MASKING":instance="database.instanceResource"/><div- class="flex flex-col space-x-2 lg:flex-row gap-y-4 justify-between items-end lg:items-center"+ class="flex flex-col gap-x-2 lg:flex-row gap-y-4 justify-between items-end lg:items-center"><SearchBox v-model:value="state.searchText" style="max-width: 100%" /><NButtondiff --git a/frontend/src/components/DatabaseDetail/Settings/DatabaseSettingsPanel.vue b/frontend/src/components/DatabaseDetail/Settings/DatabaseSettingsPanel.vueindex f8e0f549f5..fa1046bf39 100644--- a/frontend/src/components/DatabaseDetail/Settings/DatabaseSettingsPanel.vue+++ b/frontend/src/components/DatabaseDetail/Settings/DatabaseSettingsPanel.vue@@ -1,6 +1,6 @@<template><div class="flex flex-col divide-y gap-y-7">- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><div><p class="text-lg font-medium leading-7 text-main">{{ $t("common.environment") }}diff --git a/frontend/src/components/DatabaseDetail/Settings/components/Labels.vue b/frontend/src/components/DatabaseDetail/Settings/components/Labels.vueindex 1a0361ef75..f56d8c4555 100644--- a/frontend/src/components/DatabaseDetail/Settings/components/Labels.vue+++ b/frontend/src/components/DatabaseDetail/Settings/components/Labels.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><div class="flex items-center"><div class="flex-1"><div class="flex items-center">diff --git a/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vue b/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vueindex 2ddc4f1d7b..602efa09fc 100644--- a/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vue+++ b/frontend/src/components/DatabaseGroup/DatabaseGroupDataTable.vue@@ -79,7 +79,7 @@ const columnList = computed((): DatabaseGroupDataTableColumn[] => {resizable: true,render: (data) => {return (- <div class="space-x-2">+ <div class="flex gap-x-2"><span>{data.title}</span></div>);diff --git a/frontend/src/components/DatabaseGroup/MatchedDatabaseView.vue b/frontend/src/components/DatabaseGroup/MatchedDatabaseView.vueindex c3f5402993..62ef669846 100644--- a/frontend/src/components/DatabaseGroup/MatchedDatabaseView.vue+++ b/frontend/src/components/DatabaseGroup/MatchedDatabaseView.vue@@ -23,7 +23,7 @@:name="item.name"><template #header-extra>{{ item.databaseList.length }}</template>- <div class="space-y-2 w-full max-h-48 overflow-y-auto">+ <div class="flex flex-col gap-y-2 w-full max-h-48 overflow-y-auto"><div class=""><divv-for="database in item.databaseList"diff --git a/frontend/src/components/EnvironmentForm/AccessControlConfigure.vue b/frontend/src/components/EnvironmentForm/AccessControlConfigure.vueindex 121a2ddd7d..5ccea1eb6f 100644--- a/frontend/src/components/EnvironmentForm/AccessControlConfigure.vue+++ b/frontend/src/components/EnvironmentForm/AccessControlConfigure.vue@@ -1,6 +1,6 @@<template><div class="flex flex-col gap-y-2">- <div class="font-medium flex items-center space-x-2">+ <div class="font-medium flex items-center gap-x-2"><label>{{ t("environment.access-control.title") }}</label>@@ -66,7 +66,7 @@v-if="resource.startsWith(environmentNamePrefix)"class="flex flex-col gap-y-2">- <div class="font-medium flex items-center space-x-2">+ <div class="font-medium flex items-center gap-x-2"><label>{{ t("environment.statement-execution.title") }}</label>diff --git a/frontend/src/components/EnvironmentForm/Form.vue b/frontend/src/components/EnvironmentForm/Form.vueindex d26722d3bc..5875014d84 100644--- a/frontend/src/components/EnvironmentForm/Form.vue+++ b/frontend/src/components/EnvironmentForm/Form.vue@@ -2,7 +2,7 @@<div><div class="flex flex-col gap-y-6"><div v-if="features.includes('BASE')" class="flex flex-col gap-y-2">- <div for="name" class="flex item-center space-x-2">+ <div for="name" class="flex item-center gap-x-2"><div class="w-4 h-4 relative"><component :is="renderColorPicker()" /></div>@@ -69,7 +69,7 @@class="flex flex-col gap-y-2"><div class="gap-y-1">- <div class="flex items-baseline space-x-2">+ <div class="flex items-baseline gap-x-2"><label class="font-medium">{{ t("policy.rollout.name") }}</label>diff --git a/frontend/src/components/ExpirationSelector.vue b/frontend/src/components/ExpirationSelector.vueindex b0ee341d08..98cd8a829a 100644--- a/frontend/src/components/ExpirationSelector.vue+++ b/frontend/src/components/ExpirationSelector.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-3">+ <div class="w-full flex flex-col gap-y-3"><NSelectv-bind="$attrs":value="state.selected"@@ -8,7 +8,7 @@/><template v-if="state.selected === -1">- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><NDatePickersize="medium"class="w-full"diff --git a/frontend/src/components/ExprEditor/ConditionGroup.vue b/frontend/src/components/ExprEditor/ConditionGroup.vueindex 9ddb5a75d4..bb120a43ee 100644--- a/frontend/src/components/ExprEditor/ConditionGroup.vue+++ b/frontend/src/components/ExprEditor/ConditionGroup.vue@@ -1,6 +1,6 @@<template><div- class="w-full overflow-hidden space-y-2 py-0.5"+ class="w-full overflow-hidden flex flex-col gap-y-2 py-0.5":class="[root ? '' : 'border rounded-[3px] bg-gray-50']"><div v-if="!root" class="pl-2.5 pr-1 text-gray-500 flex items-center">@@ -61,7 +61,7 @@{{ operatorLabel(operator) }}</div></div>- <div class="flex-1 space-y-1 overflow-x-hidden">+ <div class="flex-1 flex flex-col gap-y-1 overflow-x-hidden"><ConditionGroupv-if="isConditionGroupExpr(operand)":key="i"@@ -101,7 +101,7 @@</NButton></div>- <div v-if="root && allowAdmin" class="space-x-1">+ <div v-if="root && allowAdmin" class="flex gap-x-1"><NButton size="small" quaternary @click="addCondition"><template #icon><heroicons:plus class="w-4 h-4" /></template><span>{{ $t("cel.condition.add") }}</span>diff --git a/frontend/src/components/ExternalTableDetailDrawer.vue b/frontend/src/components/ExternalTableDetailDrawer.vueindex 9880d44b02..cf041c20f5 100644--- a/frontend/src/components/ExternalTableDetailDrawer.vue+++ b/frontend/src/components/ExternalTableDetailDrawer.vue@@ -25,7 +25,7 @@</div></div><dl- class="flex flex-col space-y-1 md:space-y-0 md:flex-row md:flex-wrap"+ class="flex flex-col gap-y-1 md:gap-y-0 md:flex-row md:flex-wrap"><dt class="sr-only">{{ $t("common.environment") }}</dt><dd class="flex items-center text-sm md:mr-4">@@ -72,7 +72,9 @@</div><div class="mt-6">- <div class="max-w-6xl px-6 space-y-6 divide-y divide-block-border">+ <div+ class="max-w-6xl px-6 flex flex-col gap-y-6 divide-y divide-block-border"+ ><!-- Description list --><dl class="grid grid-cols-1 gap-x-4 gap-y-4 sm:grid-cols-3"><div class="col-span-1">diff --git a/frontend/src/components/FeatureGuard/FeatureModal.vue b/frontend/src/components/FeatureGuard/FeatureModal.vueindex 765a539ad7..56c11f4cad 100644--- a/frontend/src/components/FeatureGuard/FeatureModal.vue+++ b/frontend/src/components/FeatureGuard/FeatureModal.vue@@ -1,7 +1,7 @@<template><BBModal v-if="open && feature" :title="title" @close="$emit('cancel')"><div class="min-w-0 md:min-w-[400px] max-w-4xl mb-2">- <div class="flex items-start space-x-2 mt-3">+ <div class="flex items-start gap-x-2 mt-3"><div class="flex items-center"><heroicons-solid:lock-closedv-if="instanceMissingLicense"diff --git a/frontend/src/components/GeneralSetting/AIAugmentationSetting.vue b/frontend/src/components/GeneralSetting/AIAugmentationSetting.vueindex 31cd186594..40f13d9150 100644--- a/frontend/src/components/GeneralSetting/AIAugmentationSetting.vue+++ b/frontend/src/components/GeneralSetting/AIAugmentationSetting.vue@@ -1,7 +1,7 @@<template><div id="ai" ref="containerRef" class="py-6 lg:flex"><div class="text-left lg:w-1/4">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><h1 class="text-2xl font-bold">{{ title }}</h1>@@ -19,7 +19,7 @@"/></div>- <div v-else class="mt-4 lg:mt-0 space-y-4">+ <div v-else class="mt-4 lg:mt-0 flex flex-col gap-y-4"><div><div class="flex items-center gap-x-2"><Switchdiff --git a/frontend/src/components/GeneralSetting/AccountSetting.vue b/frontend/src/components/GeneralSetting/AccountSetting.vueindex 9dc31be967..787bace9bb 100644--- a/frontend/src/components/GeneralSetting/AccountSetting.vue+++ b/frontend/src/components/GeneralSetting/AccountSetting.vue@@ -1,7 +1,7 @@<template><div id="account" class="py-6 lg:flex"><div class="text-left lg:w-1/4">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><h1 class="text-2xl font-bold">{{ title }}</h1>diff --git a/frontend/src/components/GeneralSetting/AnnouncementSetting.vue b/frontend/src/components/GeneralSetting/AnnouncementSetting.vueindex 6b6f2c8db7..e5c5427b25 100644--- a/frontend/src/components/GeneralSetting/AnnouncementSetting.vue+++ b/frontend/src/components/GeneralSetting/AnnouncementSetting.vue@@ -1,7 +1,7 @@<template><div id="announcement" class="py-6 lg:flex"><div class="text-left lg:w-1/4">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><h1 class="text-2xl font-bold">{{ title }}</h1>diff --git a/frontend/src/components/GeneralSetting/BrandingSetting.vue b/frontend/src/components/GeneralSetting/BrandingSetting.vueindex 0f3f024682..a5573337c3 100644--- a/frontend/src/components/GeneralSetting/BrandingSetting.vue+++ b/frontend/src/components/GeneralSetting/BrandingSetting.vue@@ -1,7 +1,7 @@<template><div id="branding" class="py-6 lg:flex"><div class="text-left lg:w-1/4">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><h1 class="text-2xl font-bold">{{ title }}</h1>@@ -29,7 +29,7 @@:style="`background-image: url(${state.logoUrl});`"></div><SingleFileSelector- class="space-y-1 text-center flex flex-col justify-center items-center absolute top-0 bottom-0 left-0 right-0"+ class="flex flex-col gap-y-1 text-center justify-center items-center absolute top-0 bottom-0 left-0 right-0":class="[state.logoUrl ? 'opacity-0 hover:opacity-90' : '']":max-file-size-in-mi-b="maxFileSizeInMiB":support-file-extensions="supportImageExtensions"diff --git a/frontend/src/components/GeneralSetting/GeneralSetting.vue b/frontend/src/components/GeneralSetting/GeneralSetting.vueindex f61ed8c7fb..baafad337b 100644--- a/frontend/src/components/GeneralSetting/GeneralSetting.vue+++ b/frontend/src/components/GeneralSetting/GeneralSetting.vue@@ -1,13 +1,13 @@<template><div class="pb-6 lg:flex"><div class="text-left lg:w-1/4">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><h1 class="text-2xl font-bold">{{ title }}</h1></div></div>- <div class="flex-1 mt-4 lg:px-4 lg:mt-0 space-y-7">+ <div class="flex-1 mt-4 lg:px-4 lg:mt-0 flex flex-col gap-y-7"><WorkspaceModev-model:mode="state.databaseChangeMode":disabled="!allowEdit"diff --git a/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vue b/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vueindex 1d1451d93b..6cdadbd880 100644--- a/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vue+++ b/frontend/src/components/GeneralSetting/MaximumSQLResultSizeSetting.vue@@ -1,5 +1,5 @@<template>- <div class="flex flex-col space-y-7">+ <div class="flex flex-col gap-y-7"><div><p class="font-medium flex flex-row justify-start items-center"><span class="mr-2">diff --git a/frontend/src/components/GeneralSetting/PasswordRestrictionSetting.vue b/frontend/src/components/GeneralSetting/PasswordRestrictionSetting.vueindex b31504beab..dab1ff4bd8 100644--- a/frontend/src/components/GeneralSetting/PasswordRestrictionSetting.vue+++ b/frontend/src/components/GeneralSetting/PasswordRestrictionSetting.vue@@ -6,7 +6,7 @@{{ $t("settings.general.workspace.password-restriction.self") }}<FeatureBadge :feature="PlanFeature.FEATURE_PASSWORD_RESTRICTIONS" /></p>- <div class="w-full flex flex-col space-y-3">+ <div class="w-full flex flex-col gap-y-3"><div class="flex items-center"><NInputNumber:value="state.minLength"@@ -125,7 +125,7 @@<i18n-ttag="div"keypath="settings.general.workspace.password-restriction.password-rotation"- class="flex items-center space-x-2"+ class="flex items-center gap-x-2"><template #day><NInputNumberdiff --git a/frontend/src/components/GeneralSetting/SecuritySetting.vue b/frontend/src/components/GeneralSetting/SecuritySetting.vueindex 5128d93ac7..7434b364c2 100644--- a/frontend/src/components/GeneralSetting/SecuritySetting.vue+++ b/frontend/src/components/GeneralSetting/SecuritySetting.vue@@ -1,7 +1,7 @@<template>- <div id="security" class="py-6 lg:flex space-y-4 lg:space-y-0">+ <div id="security" class="py-6 lg:flex gap-y-4 lg:gap-y-0"><div class="text-left lg:w-1/4">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><h1 class="text-2xl font-bold">{{ title }}</h1>@@ -11,7 +11,7 @@</span></div>- <div class="flex-1 lg:px-4 space-y-7">+ <div class="flex-1 lg:px-4 flex flex-col gap-y-7"><div><div class="flex items-center gap-x-2"><Switchdiff --git a/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/DatabaseResourceSelector.vue b/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/DatabaseResourceSelector.vueindex 8812a3c172..b807c93ca3 100644--- a/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/DatabaseResourceSelector.vue+++ b/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/DatabaseResourceSelector.vue@@ -1,5 +1,5 @@<template>- <div class="w-full relative space-y-2">+ <div class="w-full relative flex flex-col gap-y-2"><AdvancedSearchv-model:params="params":autofocus="false"@@ -443,7 +443,7 @@ const onTreeNodeLoad = async (node: TreeOption) => {const renderSourceList: TransferRenderSourceList = ({ onCheck, pattern }) => {return h("div",- { class: "flex flex-col space-y-2 pb-4" },+ { class: "flex flex-col gap-y-2 pb-4" },{default: () => [h(NTree, {diff --git a/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/index.vue b/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/index.vueindex 985aa07875..f81dc60102 100644--- a/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/index.vue+++ b/frontend/src/components/GrantRequestPanel/DatabaseResourceForm/index.vue@@ -16,7 +16,7 @@{{ $t("issue.grant-request.all-databases-tip") }}</NTooltip><NRadio class="leading-6!" :value="false" :disabled="!project">- <div class="flex items-center space-x-1">+ <div class="flex items-center gap-x-1"><FeatureBadge :feature="requiredFeature" /><span>{{ $t("issue.grant-request.manually-select") }}</span></div>diff --git a/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue b/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vueindex ae9da34f2d..2f10afc5f5 100644--- a/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue+++ b/frontend/src/components/GrantRequestPanel/GrantRequestPanel.vue@@ -10,7 +10,7 @@:closable="true"class="w-200 max-w-[100vw] relative">- <div class="w-full mx-auto space-y-4">+ <div class="w-full mx-auto flex flex-col gap-y-4"><AddProjectMemberFormref="formRef"class="w-full"diff --git a/frontend/src/components/IAMRemindModal.vue b/frontend/src/components/IAMRemindModal.vueindex 20cd74467d..82988ae873 100644--- a/frontend/src/components/IAMRemindModal.vue+++ b/frontend/src/components/IAMRemindModal.vue@@ -5,7 +5,7 @@@close="onClose"><div class="w-120 max-w-[calc(100vw-10rem)]">- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><p>{{ $t("remind.role-expire.content") }}</p><ul class="list-disc textinfolabel ml-4"><li v-for="(data, i) in pendingExpireRoles" :key="i">diff --git a/frontend/src/components/IdentityProvider/IdentityProviderCreateWizard.vue b/frontend/src/components/IdentityProvider/IdentityProviderCreateWizard.vueindex acecaf4678..7287600a2e 100644--- a/frontend/src/components/IdentityProvider/IdentityProviderCreateWizard.vue+++ b/frontend/src/components/IdentityProvider/IdentityProviderCreateWizard.vue@@ -5,7 +5,7 @@class="w-5xl max-w-[100vw]":closable="true">- <div class="w-full mx-auto space-y-6">+ <div class="w-full mx-auto flex flex-col gap-y-6"><!-- Steps Navigation --><NSteps :current="currentStep" size="medium"><NStep :title="$t('settings.sso.form.type')" />@@ -22,8 +22,8 @@class="bg-white rounded-lg border border-gray-200 px-2 sm:px-6 pt-6 pb-10"><!-- Step 1: Select Provider Type -->- <div v-if="currentStep === 1" class="space-y-6">- <div class="text-center space-y-2">+ <div v-if="currentStep === 1" class="flex flex-col gap-y-6">+ <div class="text-center flex flex-col gap-y-2"><h2 class="text-2xl font-bold text-gray-900">{{ $t("settings.sso.form.type") }}</h2>@@ -36,7 +36,7 @@<NRadioGroupv-model:value="selectedType"size="large"- class="space-y-4 w-full"+ class="flex flex-col gap-y-4 w-full"><divv-for="item in identityProviderTypeList"@@ -51,14 +51,14 @@:disabled="!subscriptionStore.hasFeature(item.feature)"class="w-full">- <div class="flex items-start space-x-3 w-full">+ <div class="flex items-start gap-x-3 w-full"><component:is="getProviderIcon(item.type)"class="w-6 h-6 mt-1 shrink-0":stroke-width="1.5"/><div class="flex-1">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><span class="text-lg font-medium text-gray-900">{{ identityProviderTypeToString(item.type) }}</span>@@ -101,9 +101,9 @@v-else-if="currentStep === 2 && selectedType === IdentityProviderType.OAUTH2"- class="space-y-6"+ class="flex flex-col gap-y-6">- <div class="text-center space-y-2">+ <div class="text-center flex flex-col gap-y-2"><h2 class="text-2xl font-bold text-gray-900">{{ $t("settings.sso.form.use-template") }}</h2>@@ -140,14 +140,14 @@:disabled="!subscriptionStore.hasFeature(template.feature)"class="w-full">- <div class="flex items-center space-x-3">+ <div class="flex items-center gap-x-3"><component:is="getTemplateIcon(template.title)"class="w-8 h-8 shrink-0":stroke-width="1"/><div class="flex-1">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><span class="text-base font-medium text-gray-900">{{ template.title }}</span>@@ -170,9 +170,9 @@currentStep ===(selectedType === IdentityProviderType.OAUTH2 ? 3 : 2)"- class="space-y-6"+ class="flex flex-col gap-y-6">- <div class="text-center space-y-2">+ <div class="text-center flex flex-col gap-y-2"><h2 class="text-2xl font-bold text-gray-900">{{ $t("common.general") }}</h2>@@ -181,7 +181,7 @@</p></div>- <div class="max-w-2xl mx-auto space-y-6">+ <div class="max-w-2xl mx-auto flex flex-col gap-y-6"><div><label class="block text-base font-semibold text-gray-800 mb-2">{{ $t("settings.sso.form.name") }}@@ -233,9 +233,9 @@currentStep ===(selectedType === IdentityProviderType.OAUTH2 ? 4 : 3)"- class="space-y-6"+ class="flex flex-col gap-y-6">- <div class="text-center space-y-2">+ <div class="text-center flex flex-col gap-y-2"><h2 class="text-2xl font-bold text-gray-900">{{ $t("settings.sso.form.configuration") }}</h2>@@ -277,9 +277,9 @@currentStep ===(selectedType === IdentityProviderType.OAUTH2 ? 5 : 4)"- class="space-y-6"+ class="flex flex-col gap-y-6">- <div class="text-center space-y-2">+ <div class="text-center flex flex-col gap-y-2"><h2 class="text-2xl font-bold text-gray-900">{{ $t("settings.sso.form.user-information-mapping") }}</h2>@@ -294,7 +294,7 @@</p></div>- <div class="max-w-2xl mx-auto space-y-6">+ <div class="max-w-2xl mx-auto flex flex-col gap-y-6"><div class="grid grid-cols-[256px_1fr] gap-4 items-center"><BBTextFieldv-model:value="fieldMapping.identifier"diff --git a/frontend/src/components/IdentityProvider/IdentityProviderEditForm.vue b/frontend/src/components/IdentityProvider/IdentityProviderEditForm.vueindex 2e80d21354..7d6b5b51aa 100644--- a/frontend/src/components/IdentityProvider/IdentityProviderEditForm.vue+++ b/frontend/src/components/IdentityProvider/IdentityProviderEditForm.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-0 pt-4">+ <div class="w-full flex flex-col gap-y-0 pt-4"><div class="divide-y divide-block-border"><!-- Basic Information Section --><div class="pb-6 lg:flex">@@ -8,12 +8,12 @@{{ $t("common.general") }}</h1></div>- <div class="flex-1 mt-4 lg:px-4 lg:mt-0 space-y-6">+ <div class="flex-1 mt-4 lg:px-4 lg:mt-0 flex flex-col gap-y-6"><div><p class="text-base font-semibold text-gray-800 mb-2">{{ $t("common.type") }}</p>- <div class="flex items-center space-x-3 p-3 bg-gray-50 rounded-md">+ <div class="flex items-center gap-x-3 p-3 bg-gray-50 rounded-md"><component:is="getProviderIcon(localIdentityProvider.type)"class="w-5 h-5 text-gray-600"@@ -108,7 +108,7 @@/></p></div>- <div class="flex-1 mt-4 lg:px-4 lg:mt-0 space-y-6">+ <div class="flex-1 mt-4 lg:px-4 lg:mt-0 flex flex-col gap-y-6"><div class="grid grid-cols-[256px_1fr] gap-4 items-center"><BBTextFieldv-model:value="fieldMapping.identifier"diff --git a/frontend/src/components/IdentityProvider/IdentityProviderExternalURL.vue b/frontend/src/components/IdentityProvider/IdentityProviderExternalURL.vueindex 85ee9240e7..c244e40894 100644--- a/frontend/src/components/IdentityProvider/IdentityProviderExternalURL.vue+++ b/frontend/src/components/IdentityProvider/IdentityProviderExternalURL.vue@@ -1,6 +1,6 @@<template><div class="p-4 rounded-lg border border-gray-200 bg-gray-50">- <div class="flex items-start space-x-3">+ <div class="flex items-start gap-x-3"><div class="shrink-0"><InfoIcon class="w-5 h-5 text-blue-500 mt-0.5" /></div>@@ -12,7 +12,7 @@{{ $t("settings.sso.form.redirect-url-description") }}</p>- <div class="flex items-center space-x-3">+ <div class="flex items-center gap-x-3"><div class="flex-1"><label class="block text-sm font-medium text-gray-700 mb-1">{{ $t("settings.sso.form.redirect-url") }}diff --git a/frontend/src/components/IdentityProvider/IdentityProviderForm.vue b/frontend/src/components/IdentityProvider/IdentityProviderForm.vueindex c3748a457d..98a3cd65ff 100644--- a/frontend/src/components/IdentityProvider/IdentityProviderForm.vue+++ b/frontend/src/components/IdentityProvider/IdentityProviderForm.vue@@ -1,7 +1,10 @@<template>- <div class="space-y-6">+ <div class="flex flex-col gap-y-6"><!-- OAuth2 Configuration -->- <div v-if="providerType === IdentityProviderType.OAUTH2" class="space-y-6">+ <div+ v-if="providerType === IdentityProviderType.OAUTH2"+ class="flex flex-col gap-y-6"+ ><div class="grid grid-cols-1 md:grid-cols-2 gap-6"><div><label class="block text-base font-semibold text-gray-800 mb-2">@@ -120,13 +123,13 @@:value="oauth2Config.authStyle"@update:value="updateOAuth2Config('authStyle', $event)"size="large"- class="space-y-3"+ class="flex flex-col gap-y-3"><NRadio:value="OAuth2AuthStyle.IN_PARAMS"class="text-base font-medium text-gray-800">- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><div class="font-medium">{{ $t("settings.sso.form.in-parameters") }}</div>@@ -139,7 +142,7 @@:value="OAuth2AuthStyle.IN_HEADER"class="text-base font-medium text-gray-800">- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><div class="font-medium">{{ $t("settings.sso.form.in-header") }}</div>@@ -172,7 +175,7 @@<!-- OIDC Configuration --><divv-else-if="providerType === IdentityProviderType.OIDC"- class="space-y-6"+ class="flex flex-col gap-y-6"><div><label class="block text-base font-semibold text-gray-800 mb-2">@@ -256,13 +259,13 @@:value="oidcConfig.authStyle"@update:value="updateOIDCConfig('authStyle', $event)"size="large"- class="space-y-3"+ class="flex flex-col gap-y-3"><NRadio:value="OAuth2AuthStyle.IN_PARAMS"class="text-base font-medium text-gray-800">- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><div class="font-medium">{{ $t("settings.sso.form.in-parameters") }}</div>@@ -275,7 +278,7 @@:value="OAuth2AuthStyle.IN_HEADER"class="text-base font-medium text-gray-800">- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><div class="font-medium">{{ $t("settings.sso.form.in-header") }}</div>@@ -308,7 +311,7 @@<!-- LDAP Configuration --><divv-else-if="providerType === IdentityProviderType.LDAP"- class="space-y-6"+ class="flex flex-col gap-y-6"><div class="grid grid-cols-1 md:grid-cols-3 gap-6"><div class="md:col-span-2">@@ -422,13 +425,13 @@:value="ldapConfig.securityProtocol"@update:value="updateLDAPConfig('securityProtocol', $event)"size="large"- class="space-y-3"+ class="flex flex-col gap-y-3"><NRadio:value="LDAPIdentityProviderConfig_SecurityProtocol.START_TLS"class="text-base font-medium text-gray-800">- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><div class="font-medium">{{ $t("settings.sso.form.starttls") }}</div>@@ -441,7 +444,7 @@:value="LDAPIdentityProviderConfig_SecurityProtocol.LDAPS"class="text-base font-medium text-gray-800">- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><div class="font-medium">{{ $t("settings.sso.form.ldaps") }}</div><div class="text-sm text-gray-600">{{ $t("settings.sso.form.ldaps-description") }}@@ -454,7 +457,7 @@"class="text-base font-medium text-gray-800">- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><div class="font-medium">{{ $t("settings.sso.form.none") }}</div><div class="text-sm text-gray-600">{{ $t("settings.sso.form.none-description") }}diff --git a/frontend/src/components/IdentityProvider/TestConnection.vue b/frontend/src/components/IdentityProvider/TestConnection.vueindex 680aa6a8f9..e1c90384f8 100644--- a/frontend/src/components/IdentityProvider/TestConnection.vue+++ b/frontend/src/components/IdentityProvider/TestConnection.vue@@ -21,12 +21,12 @@<span>{{ $t("identity-provider.test-connection-success") }}</span></div></template>- <div v-if="testIdentityProviderResponse" class="space-y-4">+ <div v-if="testIdentityProviderResponse" class="flex flex-col gap-y-4"><p class="text-sm text-control-light">{{ $t("identity-provider.userinfo-description") }}</p><div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-4">- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><divv-for="[key, value] in Object.entries(testIdentityProviderResponse.userInfo@@ -47,7 +47,7 @@{{ $t("identity-provider.claims-description") }}</p><div class="bg-gray-50 dark:bg-gray-800 rounded-lg p-4">- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><divv-if="Object.keys(testIdentityProviderResponse.claims).length === 0"class="text-sm text-control-light italic"diff --git a/frontend/src/components/Instance/InstanceArchiveRestoreButton.vue b/frontend/src/components/Instance/InstanceArchiveRestoreButton.vueindex e2e84b06c8..05349b7e9e 100644--- a/frontend/src/components/Instance/InstanceArchiveRestoreButton.vue+++ b/frontend/src/components/Instance/InstanceArchiveRestoreButton.vue@@ -1,7 +1,7 @@<template><divv-if="allowArchiveOrRestore"- class="t-6 border-t border-block-border flex justify-between items-center pt-4 pb-2 space-x-2"+ class="t-6 border-t border-block-border flex justify-between items-center pt-4 pb-2 gap-x-2"><template v-if="instance.state === State.ACTIVE"><BBButtonConfirmdiff --git a/frontend/src/components/InstanceAssignment.vue b/frontend/src/components/InstanceAssignment.vueindex 1402c68acc..e4494edf71 100644--- a/frontend/src/components/InstanceAssignment.vue+++ b/frontend/src/components/InstanceAssignment.vue@@ -4,9 +4,9 @@:title="$t('subscription.instance-assignment.manage-license')"class="max-w-[100vw]">- <div class="divide-block-border space-y-5 w-[40rem] h-full">+ <div class="divide-block-border flex flex-col gap-y-5 w-[40rem] h-full"><div>- <div class="flex space-x-2">+ <div class="flex gap-x-2"><div class="text-gray-400">{{$t("subscription.instance-assignment.used-and-total-license")diff --git a/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue b/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vueindex 8a5f010f3c..6a48e4d3d6 100644--- a/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue+++ b/frontend/src/components/InstanceForm/DataSourceSection/DataSourceForm.vue@@ -60,7 +60,7 @@Principal<RequiredStar /></label>- <div class="mt-2 flex items-center space-x-2">+ <div class="mt-2 flex items-center gap-x-2"><NInput:value="dataSource.saslConfig?.mechanism?.case === 'krbConfig'@@ -118,7 +118,7 @@KDC<RequiredStar /></label>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><div class="w-fit"><NRadioGroup:value="@@ -338,13 +338,16 @@/></div></div>- <div v-else-if="dataSource.externalSecret" class="space-y-4">+ <div+ v-else-if="dataSource.externalSecret"+ class="flex flex-col gap-y-4"+ ><divv-if="state.passwordType ===DataSourceExternalSecret_SecretType.VAULT_KV_V2"- class="space-y-4"+ class="flex flex-col gap-y-4"><div class="sm:col-span-2 sm:col-start-1"><label class="textlabel block">@@ -359,7 +362,7 @@:placeholder="$t('instance.external-secret-vault.vault-url')"/></div>- <div class="sm:col-span-2 sm:col-start-1 space-y-2">+ <div class="sm:col-span-2 sm:col-start-1 flex flex-col gap-y-2"><label class="textlabel block">{{$t("instance.external-secret-vault.vault-auth-type.self")@@ -403,7 +406,7 @@}}<RequiredStar /></label>- <div class="flex space-x-2 text-sm">+ <div class="flex gap-x-2 text-sm"><div class="textinfolabel">{{$t(@@ -443,7 +446,7 @@v-else-if="dataSource.externalSecret?.authOption?.case === 'appRole'"- class="space-y-4"+ class="flex flex-col gap-y-4"><div class="sm:col-span-2 sm:col-start-1"><label class="textlabel block">@@ -568,7 +571,7 @@}}<RequiredStar /></label>- <div class="flex space-x-2 text-sm textinfolabel">+ <div class="flex gap-x-2 text-sm textinfolabel">{{$t("instance.external-secret-vault.vault-secret-engine-tips"@@ -598,7 +601,7 @@state.passwordType ===DataSourceExternalSecret_SecretType.GCP_SECRET_MANAGER"- class="flex space-x-2 text-sm textinfolabel"+ class="flex gap-x-2 text-sm textinfolabel">{{ $t("instance.external-secret-gcp.secret-name-tips") }}</div>@@ -728,7 +731,7 @@<div class="textlabel block">{{ $t("data-source.ssh.private-key") }}</div>- <div class="flex space-x-2 text-sm">+ <div class="flex gap-x-2 text-sm"><div class="textinfolabel">{{ $t("data-source.snowflake-keypair-tip") }}</div>@@ -779,7 +782,7 @@ MIIEvQ...<template v-if="showAuthenticationDatabase"><div class="sm:col-span-3 sm:col-start-1">- <div class="flex flex-row items-center space-x-2">+ <div class="flex flex-row items-center gap-x-2"><label for="authenticationDatabase" class="textlabel block">{{ $t("instance.authentication-database") }}</label>@@ -802,7 +805,7 @@ MIIEvQ..."><div v-if="hasReadonlyReplicaHost" class="sm:col-span-3 sm:col-start-1">- <div class="flex flex-row items-center space-x-2">+ <div class="flex flex-row items-center gap-x-2"><label for="host" class="textlabel block">{{ $t("data-source.read-replica-host") }}</label>@@ -817,7 +820,7 @@ MIIEvQ...</div><div v-if="hasReadonlyReplicaPort" class="sm:col-span-3 sm:col-start-1">- <div class="flex flex-row items-center space-x-2">+ <div class="flex flex-row items-center gap-x-2"><label for="port" class="textlabel block">{{ $t("data-source.read-replica-port") }}</label>@@ -858,7 +861,7 @@ MIIEvQ...<!-- Add parameter form --><divv-if="allowEdit"- class="flex mt-2 mb-2 space-x-2 bg-gray-50 p-3 rounded-md"+ class="flex mt-2 mb-2 gap-x-2 bg-gray-50 p-3 rounded-md"><NInputv-model:value="newParam.key"@@ -885,7 +888,7 @@ MIIEvQ...<divv-for="(param, index) in extraConnectionParamsList":key="param.key"- class="flex mt-2 space-x-2"+ class="flex mt-2 gap-x-2"><NInputclass="w-full"diff --git a/frontend/src/components/InstanceForm/DataSourceSection/GcpCredentialInput.vue b/frontend/src/components/InstanceForm/DataSourceSection/GcpCredentialInput.vueindex 13f6159493..a485333df8 100644--- a/frontend/src/components/InstanceForm/DataSourceSection/GcpCredentialInput.vue+++ b/frontend/src/components/InstanceForm/DataSourceSection/GcpCredentialInput.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-1 w-full">+ <div class="flex flex-col gap-y-1 w-full"><p class="textinfolabel"><span>{{ $t("instance.create-gcp-credentials") }}</span><adiff --git a/frontend/src/components/InstanceForm/DataSourceSection/SslCertificateFormV1.vue b/frontend/src/components/InstanceForm/DataSourceSection/SslCertificateFormV1.vueindex 012fdd5307..cf790c1d09 100644--- a/frontend/src/components/InstanceForm/DataSourceSection/SslCertificateFormV1.vue+++ b/frontend/src/components/InstanceForm/DataSourceSection/SslCertificateFormV1.vue@@ -1,5 +1,5 @@<template>- <div class="mt-2 space-y-3">+ <div class="mt-2 flex flex-col gap-y-3"><div class="flex flex-row items-center gap-2"><NSwitchv-model:value="state.value.verifyTlsCertificate"diff --git a/frontend/src/components/InstanceForm/Form.vue b/frontend/src/components/InstanceForm/Form.vueindex 73714e8271..308d8d2041 100644--- a/frontend/src/components/InstanceForm/Form.vue+++ b/frontend/src/components/InstanceForm/Form.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-6 pb-2">+ <div class="flex flex-col gap-y-6 pb-2"><div class="divide-y divide-block-border max-w-[850px]"><InstanceEngineRadioGridv-if="isCreating"@@ -227,7 +227,7 @@<divv-if="basicInfo.engine === Engine.REDIS"- class="sm:col-span-4 sm:col-start-1 space-y-2"+ class="sm:col-span-4 sm:col-start-1 flex flex-col gap-y-2"><labelfor="connectionStringSchema"@@ -464,7 +464,7 @@</BBAttention><div class="mt-6 pt-0 border-none">- <div class="flex flex-row space-x-2">+ <div class="flex flex-row gap-x-2"><NButtontertiarytype="primary"@@ -480,7 +480,7 @@<divv-if="basicInfo.engine !== Engine.DYNAMODB && isCreating"- class="mt-6 pt-4 space-y-1"+ class="mt-6 pt-4 flex flex-col gap-y-1"><p class="w-full text-lg leading-6 font-medium text-gray-900">{{ $t("instance.sync-databases.self") }}diff --git a/frontend/src/components/InstanceForm/MaximumConnectionsInput.vue b/frontend/src/components/InstanceForm/MaximumConnectionsInput.vueindex d5d7694729..688c703251 100644--- a/frontend/src/components/InstanceForm/MaximumConnectionsInput.vue+++ b/frontend/src/components/InstanceForm/MaximumConnectionsInput.vue@@ -3,7 +3,7 @@v-if="!hideAdvancedFeatures"class="sm:col-span-4 sm:col-start-1 flex flex-col gap-y-2">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><label class="textlabel">{{ $t("instance.maximum-connections.self") }}</label>diff --git a/frontend/src/components/InstanceForm/ScanIntervalInput.vue b/frontend/src/components/InstanceForm/ScanIntervalInput.vueindex 4b216d8b90..ef3c099814 100644--- a/frontend/src/components/InstanceForm/ScanIntervalInput.vue+++ b/frontend/src/components/InstanceForm/ScanIntervalInput.vue@@ -3,7 +3,7 @@v-if="!hideAdvancedFeatures"class="sm:col-span-4 sm:col-start-1 flex flex-col gap-y-2">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><label class="textlabel">{{ $t("instance.scan-interval.self") }}</label>diff --git a/frontend/src/components/InstanceForm/SyncDatabases.vue b/frontend/src/components/InstanceForm/SyncDatabases.vueindex 456e0a5fe8..1935b23eb4 100644--- a/frontend/src/components/InstanceForm/SyncDatabases.vue+++ b/frontend/src/components/InstanceForm/SyncDatabases.vue@@ -3,7 +3,7 @@v-if="!hideAdvancedFeatures"class="sm:col-span-4 sm:col-start-1 flex flex-col gap-y-2">- <div v-if="showLabel" class="flex items-center space-x-2">+ <div v-if="showLabel" class="flex items-center gap-x-2"><label class="textlabel">{{ $t("instance.sync-databases.self") }}</label>@@ -11,13 +11,13 @@<div class="textinfolabel">{{ $t("instance.sync-databases.description") }}</div>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><NCheckbox v-model:checked="state.syncAll" :disabled="!allowEdit">{{ $t("instance.sync-databases.sync-all") }}</NCheckbox><div v-if="!state.syncAll"><BBSpin v-if="state.loading" class="opacity-60" />- <div v-else class="border rounded-xs p-2 space-y-2">+ <div v-else class="border rounded-xs p-2 flex flex-col gap-y-2"><SearchBoxv-model:value="state.searchText"style="max-width: 100%"diff --git a/frontend/src/components/IssueV1/GrantRequestIssueDetailPage.vue b/frontend/src/components/IssueV1/GrantRequestIssueDetailPage.vueindex 5a0e4c2980..5de58d7556 100644--- a/frontend/src/components/IssueV1/GrantRequestIssueDetailPage.vue+++ b/frontend/src/components/IssueV1/GrantRequestIssueDetailPage.vue@@ -11,7 +11,7 @@class="flex-1 flex flex-col hide-scrollbar divide-y overflow-x-hidden py-2"><div- class="w-full mx-auto flex flex-col justify-start items-start px-4 mb-4 space-y-4"+ class="w-full mx-auto flex flex-col justify-start items-start px-4 mb-4 gap-y-4"><divv-if="requestRole"diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vueindex 2897a0bb62..2127345b5d 100644--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentList.vue@@ -49,7 +49,7 @@state.editCommentMode &&state.activeComment?.name === item.comment.name"- class="flex space-x-2 mt-2 items-center justify-end"+ class="flex gap-x-2 mt-2 items-center justify-end"><NButton quaternary size="small" @click.prevent="cancelEditComment">{{ $t("common.cancel") }}diff --git a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vueindex 704812bf67..0eb38a54bb 100644--- a/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue+++ b/frontend/src/components/IssueV1/components/IssueCommentSection/IssueCommentView/IssueCreatedCommentV1.vue@@ -64,7 +64,7 @@/><divv-if="state.isEditing"- class="flex space-x-2 mt-2 items-center justify-end"+ class="flex gap-x-2 mt-2 items-center justify-end"><NButton quaternary size="small" @click.prevent="cancelEdit">{{ $t("common.cancel") }}diff --git a/frontend/src/components/IssueV1/components/IssueTableV1.vue b/frontend/src/components/IssueV1/components/IssueTableV1.vueindex 8edefa0914..669bff0543 100644--- a/frontend/src/components/IssueV1/components/IssueTableV1.vue+++ b/frontend/src/components/IssueV1/components/IssueTableV1.vue@@ -167,11 +167,11 @@ const columnList = computed((): DataTableColumn<ComposedIssue>[] => {projectEntity.issueLabels);return (- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><IssueStatusIconWithTaskSummary issue={issue} /><ahref={issueUrl(issue)}- class="flex items-center space-x-2 select-none truncate"+ class="flex items-center gap-x-2 select-none truncate"onClick={(e: MouseEvent) => {e.stopPropagation();}}diff --git a/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue b/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vueindex 4bc4019294..93b198dc7c 100644--- a/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue+++ b/frontend/src/components/IssueV1/components/Panel/TaskRolloutActionPanel.vue@@ -17,7 +17,7 @@type="error":title="$t('rollout.task-execution-errors')">- <ul class="list-disc list-inside space-y-1">+ <ul class="list-disc list-inside flex flex-col gap-y-1"><liv-for="(error, index) in validationErrors":key="index"@@ -34,7 +34,7 @@type="warning":title="$t('rollout.task-execution-notices')">- <ul class="list-disc list-inside space-y-1">+ <ul class="list-disc list-inside flex flex-col gap-y-1"><liv-for="(warning, index) in validationWarnings":key="index"@@ -71,7 +71,7 @@</label><div class="flex-1 overflow-y-auto"><NScrollbar class="max-h-64">- <ul class="text-sm space-y-2">+ <ul class="text-sm flex flex-col gap-y-2"><liv-for="task in filteredTasks":key="task.name"diff --git a/frontend/src/components/IssueV1/components/Sidebar/ReleaseInfo.vue b/frontend/src/components/IssueV1/components/Sidebar/ReleaseInfo.vueindex 785663c3af..7b9cfb039e 100644--- a/frontend/src/components/IssueV1/components/Sidebar/ReleaseInfo.vue+++ b/frontend/src/components/IssueV1/components/Sidebar/ReleaseInfo.vue@@ -1,7 +1,7 @@<template><divv-if="isValidReleaseName(release.name) && ready"- class="w-full text-sm text-control-light flex space-x-1 items-center"+ class="w-full text-sm text-control-light flex gap-x-1 items-center"><PackageIcon class="w-5 h-auto shrink-0" /><adiff --git a/frontend/src/components/IssueV1/components/Sidebar/Sidebar.vue b/frontend/src/components/IssueV1/components/Sidebar/Sidebar.vueindex 777ce59f07..35d4a1d0bb 100644--- a/frontend/src/components/IssueV1/components/Sidebar/Sidebar.vue+++ b/frontend/src/components/IssueV1/components/Sidebar/Sidebar.vue@@ -36,7 +36,7 @@v-show="selectedSpec && (shouldShowPreBackupSection || shouldShowGhostSection)"- class="space-y-2"+ class="flex flex-col gap-y-2"><div class="border-t border-gray-200 -mx-4" /><NTooltip v-if="selectedSpec" :showArrow="false">diff --git a/frontend/src/components/IssueV1/components/StageSection/StageCard.vue b/frontend/src/components/IssueV1/components/StageSection/StageCard.vueindex beefcd9cb9..450624a3ad 100644--- a/frontend/src/components/IssueV1/components/StageSection/StageCard.vue+++ b/frontend/src/components/IssueV1/components/StageSection/StageCard.vue@@ -7,7 +7,7 @@<div class="text" @click="handleClickStage"><div- class="text-sm min-w-32 flex items-center space-x-1 lg:min-w-fit with-underline whitespace-nowrap"+ class="text-sm min-w-32 flex items-center gap-x-1 lg:min-w-fit with-underline whitespace-nowrap"><heroicons:arrow-small-rightv-if="isActiveStage"diff --git a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunComment.vue b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunComment.vueindex 47bb67d068..342c3b3a8e 100644--- a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunComment.vue+++ b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunComment.vue@@ -1,5 +1,5 @@<template>- <div class="flex flex-col xl:flex-row xl:items-center xl:space-x-1">+ <div class="flex flex-col xl:flex-row xl:items-center xl:gap-x-1"><NEllipsis expand-trigger="click" line-clamp="2" :tooltip="false"><span>{{ comment }}</span></NEllipsis>diff --git a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSection.vue b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSection.vueindex 138864b8d5..1483a304cc 100644--- a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSection.vue+++ b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSection.vue@@ -1,5 +1,8 @@<template>- <div v-if="flattenTaskRunList.length > 0" class="px-4 py-2 space-y-4">+ <div+ v-if="flattenTaskRunList.length > 0"+ class="px-4 py-2 flex flex-col gap-y-4"+ ><TaskRunTable :task-run-list="flattenTaskRunList" /></div></template>diff --git a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSession/PostgresSessionTable.vue b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSession/PostgresSessionTable.vueindex 78d21d0ef9..54c3928747 100644--- a/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSession/PostgresSessionTable.vue+++ b/frontend/src/components/IssueV1/components/TaskRunSection/TaskRunSession/PostgresSessionTable.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-2">+ <div class="w-full flex flex-col gap-y-2"><NDataTable:single-column="true":columns="columns"diff --git a/frontend/src/components/Label/LabelEditorRow.vue b/frontend/src/components/Label/LabelEditorRow.vueindex 165931fb11..025fd8df2d 100644--- a/frontend/src/components/Label/LabelEditorRow.vue+++ b/frontend/src/components/Label/LabelEditorRow.vue@@ -1,5 +1,5 @@<template>- <div class="contents text-sm space-x-2">+ <div class="contents text-sm flex gap-x-2"><div class="flex flex-col"><span class="text-xs font-medium mb-1"> Key {{ index + 1 }} </span><span v-if="readonly" class="leading-[34px]">@@ -15,7 +15,7 @@</div><div class="flex flex-col"><span class="text-xs font-medium mb-1"> Value {{ index + 1 }} </span>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><span v-if="readonly" class="leading-[34px]"><template v-if="kv.value">{{ kv.value }}</template><span v-else class="text-control-placeholder">diff --git a/frontend/src/components/Member/EditMemberRoleDrawer.vue b/frontend/src/components/Member/EditMemberRoleDrawer.vueindex 06ad937820..367b3e0caf 100644--- a/frontend/src/components/Member/EditMemberRoleDrawer.vue+++ b/frontend/src/components/Member/EditMemberRoleDrawer.vue@@ -6,7 +6,7 @@:title="$t('settings.members.grant-access')"><template #default>- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><MembersBindingSelectv-if="isCreating"v-model:value="state.memberList"@@ -14,7 +14,7 @@:include-all-users="true":include-service-account="true"/>- <div v-else class="w-full space-y-2">+ <div v-else class="w-full flex flex-col gap-y-2"><div class="flex items-center gap-x-1">{{ $t("common.email") }}<RequiredStar />@@ -22,7 +22,7 @@<EmailInput :readonly="true" :value="email" /></div>- <div class="w-full space-y-2">+ <div class="w-full flex flex-col gap-y-2"><div class="flex items-center gap-x-1 text-main">{{ $t("settings.members.assign-role", 2 /* multiply*/) }}<RequiredStar />diff --git a/frontend/src/components/Member/MemberDataTable/cells/UserNameCell.vue b/frontend/src/components/Member/MemberDataTable/cells/UserNameCell.vueindex b47e09e6d3..516ea1aebd 100644--- a/frontend/src/components/Member/MemberDataTable/cells/UserNameCell.vue+++ b/frontend/src/components/Member/MemberDataTable/cells/UserNameCell.vue@@ -1,10 +1,10 @@<template>- <div class="flex flex-row items-center space-x-2">+ <div class="flex flex-row items-center gap-x-2"><UserAvatar :user="user" /><div class="flex flex-row items-center"><div class="flex flex-col">- <div class="flex flex-row items-center space-x-2">+ <div class="flex flex-row items-center gap-x-2"><div :class="user.state === State.DELETED ? 'line-through' : ''"><spanv-if="onClickUser"diff --git a/frontend/src/components/Member/MemberDataTableByRole.vue b/frontend/src/components/Member/MemberDataTableByRole.vueindex de8e7c4a10..315ca3868d 100644--- a/frontend/src/components/Member/MemberDataTableByRole.vue+++ b/frontend/src/components/Member/MemberDataTableByRole.vue@@ -67,7 +67,7 @@ const columns = computed(() => {render: (row: RoleRowData | BindingRowData) => {if (row.type === "role") {return (- <div class="flex items-center space-x-1">+ <div class="flex items-center gap-x-1">{row.scope === "workspace" && (<NTooltipv-slots={{diff --git a/frontend/src/components/Member/MembersBindingSelect.vue b/frontend/src/components/Member/MembersBindingSelect.vueindex e9d885bb10..e9f3835017 100644--- a/frontend/src/components/Member/MembersBindingSelect.vue+++ b/frontend/src/components/Member/MembersBindingSelect.vue@@ -1,12 +1,12 @@<template>- <div class="w-full space-y-2">+ <div class="w-full flex flex-col gap-y-2"><divv-if="allowChangeType"class="w-full flex items-center justify-between"><NRadioGroup:value="memberType"- class="space-x-2"+ class="flex gap-x-2":disabled="disabled"@update:value="onTypeChange">@@ -27,7 +27,12 @@<span class="font-semibold">{{ projectName }}</span></template></i18n-t>- <div :class="['w-full space-y-2', memberType !== 'USERS' ? 'hidden' : '']">+ <div+ :class="[+ 'w-full flex flex-col gap-y-2',+ memberType !== 'USERS' ? 'hidden' : '',+ ]"+ ><div class="flex text-main items-center gap-x-1">{{ $t("settings.members.select-user", 2 /* multiply*/) }}<RequiredStar v-if="required" />@@ -43,7 +48,12 @@@update:users="onMemberListUpdate"/></div>- <div :class="['w-full space-y-2', memberType !== 'GROUPS' ? 'hidden' : '']">+ <div+ :class="[+ 'w-full flex flex-col gap-y-2',+ memberType !== 'GROUPS' ? 'hidden' : '',+ ]"+ ><div class="flex font-medium text-main items-center gap-x-1">{{ $t("settings.members.select-group", 2 /* multiply*/) }}<RequiredStar v-if="required" />diff --git a/frontend/src/components/PasswordSigninForm.vue b/frontend/src/components/PasswordSigninForm.vueindex faade94bcf..ab4346f133 100644--- a/frontend/src/components/PasswordSigninForm.vue+++ b/frontend/src/components/PasswordSigninForm.vue@@ -1,5 +1,5 @@<template>- <form class="space-y-6 px-1" @submit.prevent="trySignin()">+ <form class="gap-y-6 px-1" @submit.prevent="trySignin()"><div><labelfor="email"diff --git a/frontend/src/components/Plan/components/AddSpecDrawer.vue b/frontend/src/components/Plan/components/AddSpecDrawer.vueindex 7fe883c01e..07210043e2 100644--- a/frontend/src/components/Plan/components/AddSpecDrawer.vue+++ b/frontend/src/components/Plan/components/AddSpecDrawer.vue@@ -28,7 +28,7 @@<NRadioGroupv-model:value="selectedMigrationType"size="large"- class="space-y-4 w-full md:w-[80vw] lg:w-[60vw]"+ class="gap-y-4 w-full md:w-[80vw] lg:w-[60vw]"><divclass="border border-gray-200 rounded-lg p-4 hover:border-gray-300 transition-colors"@@ -37,13 +37,13 @@}"><NRadio :value="MigrationType.DDL" class="w-full">- <div class="flex items-start space-x-3 w-full">+ <div class="flex items-start gap-x-3 w-full"><FileDiffIconclass="w-6 h-6 mt-1 shrink-0":stroke-width="1.5"/><div class="flex-1">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><span class="text-lg font-medium text-gray-900"><span>{{ $t("plan.schema-migration") }}</span></span>@@ -62,13 +62,13 @@}"><NRadio :value="MigrationType.DML" class="w-full">- <div class="flex items-start space-x-3 w-full">+ <div class="flex items-start gap-x-3 w-full"><EditIconclass="w-6 h-6 mt-1 shrink-0":stroke-width="1.5"/><div class="flex-1">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><span class="text-lg font-medium text-gray-900"><span>{{ $t("plan.data-change") }}</span></span>diff --git a/frontend/src/components/Plan/components/ChecksView/ChecksView.vue b/frontend/src/components/Plan/components/ChecksView/ChecksView.vueindex 4ef147802e..959c2d6020 100644--- a/frontend/src/components/Plan/components/ChecksView/ChecksView.vue+++ b/frontend/src/components/Plan/components/ChecksView/ChecksView.vue@@ -96,7 +96,7 @@</div><!-- Results for this check run -->- <div class="space-y-2 pl-8">+ <div class="flex flex-col gap-y-2 pl-8"><CheckResultItemv-for="(result, idx) in getFilteredResults(checkRun)":key="idx"diff --git a/frontend/src/components/Plan/components/Configuration/Configuration.vue b/frontend/src/components/Plan/components/Configuration/Configuration.vueindex fb83afee9b..8cb7f3aec3 100644--- a/frontend/src/components/Plan/components/Configuration/Configuration.vue+++ b/frontend/src/components/Plan/components/Configuration/Configuration.vue@@ -5,7 +5,7 @@{{ $t("plan.options.self") }}</h3></div>- <div class="space-y-4 w-full">+ <div class="flex flex-col gap-y-4 w-full"><InstanceRoleSection v-if="shouldShowInstanceRoleSection" /><TransactionModeSection v-if="shouldShowTransactionModeSection" /><IsolationLevelSection v-if="shouldShowIsolationLevelSection" />diff --git a/frontend/src/components/Plan/components/Configuration/InstanceRoleSection/InstanceRoleSection.vue b/frontend/src/components/Plan/components/Configuration/InstanceRoleSection/InstanceRoleSection.vueindex b40e21bc9e..da7df31344 100644--- a/frontend/src/components/Plan/components/Configuration/InstanceRoleSection/InstanceRoleSection.vue+++ b/frontend/src/components/Plan/components/Configuration/InstanceRoleSection/InstanceRoleSection.vue@@ -12,7 +12,7 @@</template><template #default><div class="max-w-xs">- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><p class="font-medium">{{ $t("plan.spec.role-selection.title") }}</p>diff --git a/frontend/src/components/Plan/components/Configuration/TransactionModeSection/TransactionModeSection.vue b/frontend/src/components/Plan/components/Configuration/TransactionModeSection/TransactionModeSection.vueindex 638a4eed5f..e108c5da62 100644--- a/frontend/src/components/Plan/components/Configuration/TransactionModeSection/TransactionModeSection.vue+++ b/frontend/src/components/Plan/components/Configuration/TransactionModeSection/TransactionModeSection.vue@@ -11,7 +11,7 @@/></template><template #default>- <div class="max-w-xs space-y-1">+ <div class="max-w-xs flex flex-col gap-y-1"><div v-if="transactionMode === 'on'">{{ $t("issue.transaction-mode.on-tooltip") }}</div>diff --git a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/ActivitySection.vue b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/ActivitySection.vueindex 20adda9ebc..f573489216 100644--- a/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/ActivitySection.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/ActivitySection/ActivitySection.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><h3 class="text-base font-medium">{{ $t("common.activity") }}</h3>diff --git a/frontend/src/components/Plan/components/IssueReviewView/DatabaseCreateView.vue b/frontend/src/components/Plan/components/IssueReviewView/DatabaseCreateView.vueindex d77f2d634e..9085d97d00 100644--- a/frontend/src/components/Plan/components/IssueReviewView/DatabaseCreateView.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/DatabaseCreateView.vue@@ -1,7 +1,7 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><!-- Database Information Section -->- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><h3 class="text-base font-medium">{{ $t("common.overview") }}</h3>@@ -55,7 +55,7 @@</div><!-- SQL Statement Section -->- <div class="space-y-3">+ <div class="flex flex-col gap-y-3"><h3 class="text-base font-medium">{{ $t("common.statement") }}</h3>diff --git a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView.vue b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView.vueindex 3385caf291..7066252a94 100644--- a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><!-- Tasks Section --><TasksSection />diff --git a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/ExecutionHistorySection.vue b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/ExecutionHistorySection.vueindex 6d5bd8625b..1346140f59 100644--- a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/ExecutionHistorySection.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/ExecutionHistorySection.vue@@ -1,7 +1,7 @@<template>- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><!-- Execution History Section -->- <div class="space-y-3">+ <div class="flex flex-col gap-y-3"><div class="flex items-center justify-between"><h3 class="text-base font-medium">{{ $t("task-run.history") }}diff --git a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/OptionsSection.vue b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/OptionsSection.vueindex 7b80b6d3b6..3c86ef24d9 100644--- a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/OptionsSection.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/OptionsSection.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-2">+ <div class="gap-y-2"><div class="flex items-center justify-between"><h3 class="text-base">{{ $t("issue.data-export.options") }}@@ -24,7 +24,7 @@</div></div>- <div class="p-3 border rounded-sm space-y-3">+ <div class="p-3 border rounded-sm gap-y-3"><!-- Format Display/Edit --><div class="flex items-center gap-4"><span class="text-sm">diff --git a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/TasksSection.vue b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/TasksSection.vueindex bbb6fb7731..4f97eb380c 100644--- a/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/TasksSection.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/DatabaseExportView/TasksSection.vue@@ -1,7 +1,7 @@<template>- <div class="space-y-2">+ <div class="gap-y-2"><!-- Tasks Display -->- <div class="space-y-3">+ <div class="gap-y-3"><!-- Task status summary with title --><divv-if="exportTasks.length > 0"diff --git a/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView.vue b/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView.vueindex 4a2d035526..f37eb47c26 100644--- a/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><!-- Grant Request Details Section --><RequestDetailsSection /></div>diff --git a/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView/RequestDetailsSection.vue b/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView/RequestDetailsSection.vueindex a8fb54d25a..d7386e9d18 100644--- a/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView/RequestDetailsSection.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/GrantRequestView/RequestDetailsSection.vue@@ -1,12 +1,12 @@<template>- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><h3 class="text-base font-medium">{{ $t("issue.grant-request.details") }}</h3>- <div class="p-4 border rounded-sm space-y-4">+ <div class="p-4 border rounded-sm flex flex-col gap-y-4"><!-- Requested Role -->- <div v-if="requestRole" class="space-y-2">+ <div v-if="requestRole" class="flex flex-col gap-y-2"><span class="text-sm text-control-light">{{ $t("role.self") }}</span>@@ -16,7 +16,7 @@</div><!-- Database Resources -->- <div v-if="condition?.databaseResources" class="space-y-2">+ <div v-if="condition?.databaseResources" class="flex flex-col gap-y-2"><span class="text-sm text-control-light">{{ $t("common.database") }}</span>@@ -33,7 +33,7 @@</div><!-- Expiration Time -->- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><span class="text-sm text-control-light">{{ $t("issue.grant-request.expired-at") }}</span>diff --git a/frontend/src/components/Plan/components/IssueReviewView/IssueBaseLayout.vue b/frontend/src/components/Plan/components/IssueReviewView/IssueBaseLayout.vueindex 3bd248d2cb..34cdf1f076 100644--- a/frontend/src/components/Plan/components/IssueReviewView/IssueBaseLayout.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/IssueBaseLayout.vue@@ -1,7 +1,7 @@<template><div class="flex-1 flex w-full border-t -mt-px"><!-- Left Panel - Activity -->- <div class="flex-1 shrink p-4 space-y-4 overflow-x-auto">+ <div class="flex-1 shrink p-4 flex flex-col gap-y-4 overflow-x-auto"><slot /><ActivitySection /></div>diff --git a/frontend/src/components/Plan/components/IssueReviewView/Sidebar/ApprovalFlowSection/PotentialApprovers.vue b/frontend/src/components/Plan/components/IssueReviewView/Sidebar/ApprovalFlowSection/PotentialApprovers.vueindex 2bcb5b0016..362c6a718b 100644--- a/frontend/src/components/Plan/components/IssueReviewView/Sidebar/ApprovalFlowSection/PotentialApprovers.vue+++ b/frontend/src/components/Plan/components/IssueReviewView/Sidebar/ApprovalFlowSection/PotentialApprovers.vue@@ -12,7 +12,7 @@</span></template><div class="max-w-xs">- <div class="space-y-1 max-h-64 overflow-y-auto">+ <div class="flex flex-col gap-y-1 max-h-64 overflow-y-auto"><ApprovalCandidatev-for="user in users":key="user.email"diff --git a/frontend/src/components/Plan/components/PlanDataTable/PlanDataTable.vue b/frontend/src/components/Plan/components/PlanDataTable/PlanDataTable.vueindex 8a738d2177..7e6cf1094e 100644--- a/frontend/src/components/Plan/components/PlanDataTable/PlanDataTable.vue+++ b/frontend/src/components/Plan/components/PlanDataTable/PlanDataTable.vue@@ -54,7 +54,7 @@ const columnList = computed((): DataTableColumn<Plan>[] => {const isDeleted = plan.state === State.DELETED;return (<div- class={`flex items-center overflow-hidden space-x-2 ${isDeleted ? "opacity-60" : ""}`}+ class={`flex items-center overflow-hidden gap-x-2 ${isDeleted ? "opacity-60" : ""}`}><div class="whitespace-nowrap text-control opacity-60">{extractPlanUID(plan.name)}diff --git a/frontend/src/components/Plan/components/RolloutView/RolloutView.vue b/frontend/src/components/Plan/components/RolloutView/RolloutView.vueindex b2452840f1..608c367b26 100644--- a/frontend/src/components/Plan/components/RolloutView/RolloutView.vue+++ b/frontend/src/components/Plan/components/RolloutView/RolloutView.vue@@ -15,7 +15,7 @@><LayersIcon class="w-8 h-8 text-gray-400" /></div>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><h3 class="font-medium text-xl text-gray-900">{{ $t("rollout.stage.no-stages.self") }}</h3>diff --git a/frontend/src/components/Plan/components/RolloutView/StageCard.vue b/frontend/src/components/Plan/components/RolloutView/StageCard.vueindex 4dd4138c94..e37cb1cbfa 100644--- a/frontend/src/components/Plan/components/RolloutView/StageCard.vue+++ b/frontend/src/components/Plan/components/RolloutView/StageCard.vue@@ -130,7 +130,7 @@}}</span></div></template>- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><div class="text-sm opacity-80">{{ $t("task.scheduled-time") }}</div>diff --git a/frontend/src/components/Plan/components/RolloutView/TaskRolloutActionPanel.vue b/frontend/src/components/Plan/components/RolloutView/TaskRolloutActionPanel.vueindex ad070dcd81..aceb13565f 100644--- a/frontend/src/components/Plan/components/RolloutView/TaskRolloutActionPanel.vue+++ b/frontend/src/components/Plan/components/RolloutView/TaskRolloutActionPanel.vue@@ -14,7 +14,7 @@type="error":title="$t('rollout.task-execution-errors')">- <ul class="list-disc list-inside space-y-1">+ <ul class="list-disc list-inside flex flex-col gap-y-1"><liv-for="(error, index) in validationErrors":key="index"@@ -31,7 +31,7 @@type="warning":title="$t('rollout.task-execution-notices')">- <ul class="list-disc list-inside space-y-1">+ <ul class="list-disc list-inside flex flex-col gap-y-1"><liv-for="(warning, index) in validationWarnings":key="index"@@ -135,7 +135,7 @@</template><template v-else><NScrollbar class="max-h-64">- <ul class="text-sm space-y-2">+ <ul class="text-sm flex flex-col gap-y-2"><liv-for="task in eligibleTasks":key="task.name"diff --git a/frontend/src/components/Plan/components/RolloutView/TaskRunComment.vue b/frontend/src/components/Plan/components/RolloutView/TaskRunComment.vueindex fc1684bf6a..ab1bcade4f 100644--- a/frontend/src/components/Plan/components/RolloutView/TaskRunComment.vue+++ b/frontend/src/components/Plan/components/RolloutView/TaskRunComment.vue@@ -1,5 +1,5 @@<template>- <div class="flex flex-col xl:flex-row xl:items-center xl:space-x-1">+ <div class="flex flex-col xl:flex-row xl:items-center xl:gap-x-1"><NEllipsis:expand-trigger="expandTrigger || undefined":line-clamp="lineClamp"diff --git a/frontend/src/components/Plan/components/RolloutView/TaskRunRollbackDrawer.vue b/frontend/src/components/Plan/components/RolloutView/TaskRunRollbackDrawer.vueindex 66f65fb6c0..c6e692f647 100644--- a/frontend/src/components/Plan/components/RolloutView/TaskRunRollbackDrawer.vue+++ b/frontend/src/components/Plan/components/RolloutView/TaskRunRollbackDrawer.vue@@ -29,11 +29,11 @@{{ $t("task-run.rollback.preview-statement.description") }}</NAlert>- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><divv-for="preview in rollbackPreviews":key="preview.taskRunName"- class="space-y-2"+ class="flex flex-col gap-y-2"><DatabaseDisplay :database="preview.task.target" /><template v-if="!isUndefined(preview.statement)">@@ -49,7 +49,7 @@v-elseclass="flex items-center justify-center p-8 border rounded-[3px] bg-gray-50">- <div class="text-center space-y-2">+ <div class="text-center flex flex-col gap-y-2"><DatabaseBackupIconclass="w-6 h-6 mx-auto text-gray-400"/>diff --git a/frontend/src/components/Plan/components/RolloutView/TaskTable.vue b/frontend/src/components/Plan/components/RolloutView/TaskTable.vueindex 241a105dca..a8cead9a9e 100644--- a/frontend/src/components/Plan/components/RolloutView/TaskTable.vue+++ b/frontend/src/components/Plan/components/RolloutView/TaskTable.vue@@ -232,7 +232,7 @@ const columnList = computed((): DataTableColumn<Task>[] => {</NTag>),default: () => (- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><div class="text-sm opacity-80">{t("task.scheduled-time")}</div>diff --git a/frontend/src/components/Plan/components/RolloutView/TaskView.vue b/frontend/src/components/Plan/components/RolloutView/TaskView.vueindex d6bd0cf402..d8cf698553 100644--- a/frontend/src/components/Plan/components/RolloutView/TaskView.vue+++ b/frontend/src/components/Plan/components/RolloutView/TaskView.vue@@ -43,7 +43,7 @@</div></NTag></template>- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><div class="text-sm opacity-80">{{ $t("task.scheduled-time") }}</div>diff --git a/frontend/src/components/Plan/components/SpecDetailView/DataExportOptionsSection.vue b/frontend/src/components/Plan/components/SpecDetailView/DataExportOptionsSection.vueindex 1cf609de75..6a86311563 100644--- a/frontend/src/components/Plan/components/SpecDetailView/DataExportOptionsSection.vue+++ b/frontend/src/components/Plan/components/SpecDetailView/DataExportOptionsSection.vue@@ -4,7 +4,7 @@<span class="text-base">{{ $t("issue.data-export.options") }}</span></div>- <div class="space-y-3">+ <div class="flex flex-col gap-y-3"><!-- Export Format --><div class="flex items-center gap-4"><span class="text-sm">{{ $t("export-data.export-format") }}</span>diff --git a/frontend/src/components/Plan/components/SpecDetailView/EditMigrationTypeModal.vue b/frontend/src/components/Plan/components/SpecDetailView/EditMigrationTypeModal.vueindex 8a4972c53f..e6ff844fe5 100644--- a/frontend/src/components/Plan/components/SpecDetailView/EditMigrationTypeModal.vue+++ b/frontend/src/components/Plan/components/SpecDetailView/EditMigrationTypeModal.vue@@ -8,12 +8,12 @@@positive-click="handleSave"@negative-click="handleClose">- <NRadioGroup v-model:value="selectedType" class="space-y-4">+ <NRadioGroup v-model:value="selectedType" class="flex flex-col gap-y-4"><NRadio :value="MigrationType.DDL" class="w-full">- <div class="flex items-start space-x-2 w-full ml-2">+ <div class="flex items-start gap-x-2 w-full ml-2"><FileDiffIcon class="w-6 h-6 shrink-0" :stroke-width="1.5" /><div class="flex-1">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><span class="text-base text-gray-900"><span>{{ $t("plan.schema-migration") }}</span></span>@@ -25,10 +25,10 @@</div></NRadio><NRadio :value="MigrationType.DML" class="w-full">- <div class="flex items-start space-x-2 w-full ml-2">+ <div class="flex items-start gap-x-2 w-full ml-2"><EditIcon class="w-6 h-6 shrink-0" :stroke-width="1.5" /><div class="flex-1">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><span class="text-base text-gray-900"><span>{{ $t("plan.data-change") }}</span></span>diff --git a/frontend/src/components/Plan/components/SpecDetailView/FailedTaskRunsSection.vue b/frontend/src/components/Plan/components/SpecDetailView/FailedTaskRunsSection.vueindex 8090097042..d98b94b8b2 100644--- a/frontend/src/components/Plan/components/SpecDetailView/FailedTaskRunsSection.vue+++ b/frontend/src/components/Plan/components/SpecDetailView/FailedTaskRunsSection.vue@@ -1,5 +1,5 @@<template>- <div v-if="shouldShowSection" class="w-full space-y-2 py-3">+ <div v-if="shouldShowSection" class="w-full flex flex-col gap-y-2 py-3"><div class="text-sm text-control">{{ $t("task-run.failed-runs") }}</div>diff --git a/frontend/src/components/Plan/components/SpecDetailView/SpecDetailView.vue b/frontend/src/components/Plan/components/SpecDetailView/SpecDetailView.vueindex 4060598058..c4d73772e0 100644--- a/frontend/src/components/Plan/components/SpecDetailView/SpecDetailView.vue+++ b/frontend/src/components/Plan/components/SpecDetailView/SpecDetailView.vue@@ -9,7 +9,7 @@<SQLCheckV1Section v-if="isCreating" /><PlanCheckSection v-else /></template>- <div class="w-full flex-1 space-y-3 py-3 flex flex-col">+ <div class="w-full flex-1 gap-y-3 py-3 flex flex-col"><StatementSection /><Configuration /></div>diff --git a/frontend/src/components/Plan/components/StatementSection/ReleaseView/ReleaseView.vue b/frontend/src/components/Plan/components/StatementSection/ReleaseView/ReleaseView.vueindex 09e8b61fd9..ec8b74057b 100644--- a/frontend/src/components/Plan/components/StatementSection/ReleaseView/ReleaseView.vue+++ b/frontend/src/components/Plan/components/StatementSection/ReleaseView/ReleaseView.vue@@ -37,7 +37,7 @@</div><div v-if="release" class="border rounded-md px-4 py-3 bg-gray-50">- <div class="space-y-3">+ <div class="flex flex-col gap-y-3"><div class="flex items-start justify-between"><div><h3 class="text-sm font-medium text-gray-900">@@ -49,7 +49,10 @@</div></div>- <div v-if="release.files && release.files.length > 0" class="space-y-2">+ <div+ v-if="release.files && release.files.length > 0"+ class="flex flex-col gap-y-2"+ ><div class="flex items-center justify-between"><h4 class="text-sm font-medium text-gray-700">{{ $t("release.files") }} ({{ release.files.length }})@@ -103,7 +106,7 @@</div></div>- <div v-if="release.vcsSource" class="space-y-1">+ <div v-if="release.vcsSource" class="flex flex-col gap-y-1"><h4 class="text-sm font-medium text-gray-700">{{ $t("release.vcs-source") }}</h4>@@ -133,7 +136,7 @@</div><div v-else-if="loading" class="border rounded-md p-4 bg-gray-50">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><BBSpin /><span class="text-sm text-gray-600">{{ $t("common.loading") }}diff --git a/frontend/src/components/Plan/components/common/CheckResultItem.vue b/frontend/src/components/Plan/components/common/CheckResultItem.vueindex f5f152a0d4..6c2046d38c 100644--- a/frontend/src/components/Plan/components/common/CheckResultItem.vue+++ b/frontend/src/components/Plan/components/common/CheckResultItem.vue@@ -2,7 +2,7 @@<div class="flex items-start gap-3 px-3 py-2 border rounded-lg bg-gray-50"><component :is="statusIcon" class="w-5 h-5 shrink-0" :class="statusColor" />- <div class="flex-1 min-w-0 space-y-1">+ <div class="flex-1 min-w-0 flex flex-col gap-y-1"><div class="text-sm font-medium text-main">{{ displayTitle }}</div>diff --git a/frontend/src/components/PlanCheckRun/PlanCheckResultDefinitionModal.vue b/frontend/src/components/PlanCheckRun/PlanCheckResultDefinitionModal.vueindex 428dc298ee..f4d33a011d 100644--- a/frontend/src/components/PlanCheckRun/PlanCheckResultDefinitionModal.vue+++ b/frontend/src/components/PlanCheckRun/PlanCheckResultDefinitionModal.vue@@ -1,7 +1,7 @@<template><BBModal :title="$t('sql-review.view-definition')" @close="emit('close')">- <div class="space-y-4 w-[calc(100vw-5rem)] sm:w-[40rem] pb-1">- <div class="space-y-1">+ <div class="flex flex-col gap-y-4 w-[calc(100vw-5rem)] sm:w-[40rem] pb-1">+ <div class="flex flex-col gap-y-1"><div class="flex flex-col gap-x-2 whitespace-pre-wrap">{{ definition }}</div>diff --git a/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vue b/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vueindex e842ae3b9b..5e1841a7c6 100644--- a/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vue+++ b/frontend/src/components/PlanCheckRun/PlanCheckRunDetail.vue@@ -13,14 +13,14 @@v-for="(row, i) in highlightTableRows":key="i":class="[- 'py-2 px-2 space-y-2',+ 'py-2 px-2 flex flex-col gap-y-2',row.checkResult.status === Advice_Level.ERROR &&'border-error border rounded-sm',row.checkResult.status === Advice_Level.WARNING &&'border-warning border rounded-sm',]">- <div class="flex items-center space-x-3">+ <div class="flex items-center gap-x-3"><divclass="relative w-5 h-5 flex shrink-0 items-center justify-center rounded-full select-none":class="statusIconClass(row.checkResult.status)"@@ -54,7 +54,7 @@/><div- class="flex items-center justify-start space-x-2 divide-x divide-block-border"+ class="flex items-center justify-start gap-x-2 divide-x divide-block-border"><divv-if="@@ -121,9 +121,9 @@<divv-for="(row, i) in standardTableRows":key="i"- class="py-3 px-2 first:pt-2 space-y-2"+ class="py-3 px-2 first:pt-2 flex flex-col gap-y-2">- <div class="flex items-center space-x-3">+ <div class="flex items-center gap-x-3"><divclass="relative w-5 h-5 flex shrink-0 items-center justify-center rounded-full select-none":class="statusIconClass(row.checkResult.status)"@@ -203,8 +203,11 @@</div></div>- <div v-if="showSuccessPlaceholder" class="py-3 px-2 first:pt-2 space-y-2">- <div class="flex items-center space-x-3">+ <div+ v-if="showSuccessPlaceholder"+ class="py-3 px-2 first:pt-2 flex flex-col gap-y-2"+ >+ <div class="flex items-center gap-x-3"><divclass="relative w-5 h-5 flex shrink-0 items-center justify-center rounded-full select-none":class="statusIconClass(Advice_Level.SUCCESS)"diff --git a/frontend/src/components/PlanCheckRun/PlanCheckRunPanel.vue b/frontend/src/components/PlanCheckRun/PlanCheckRunPanel.vueindex a042045a6a..501043417b 100644--- a/frontend/src/components/PlanCheckRun/PlanCheckRunPanel.vue+++ b/frontend/src/components/PlanCheckRun/PlanCheckRunPanel.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><TabFilterv-if="selectedPlanCheckRunName && tabItemList.length > 1"v-model:value="selectedPlanCheckRunName"diff --git a/frontend/src/components/ProfileDropdown.vue b/frontend/src/components/ProfileDropdown.vueindex beca9480ce..d4da41bc9b 100644--- a/frontend/src/components/ProfileDropdown.vue+++ b/frontend/src/components/ProfileDropdown.vue@@ -347,7 +347,7 @@ const options = computed((): DropdownOption[] => [render() {return (<div class="menu-item">- <div class="flex flex-row items-center space-x-2 justify-between">+ <div class="flex flex-row items-center gap-x-2 justify-between"><span>Debug</span><NSwitchsize="small"@@ -365,7 +365,7 @@ const options = computed((): DropdownOption[] => [render() {return (<div class="menu-item">- <div class="flex flex-row items-center gap-2 justify-between">+ <div class="flex flex-row items-center gap-x-2 justify-between"><span>{t("issue.new-layout")}</span><NSwitchsize="small"diff --git a/frontend/src/components/ProfilePreview.vue b/frontend/src/components/ProfilePreview.vueindex c842e04099..8189d45c07 100644--- a/frontend/src/components/ProfilePreview.vue+++ b/frontend/src/components/ProfilePreview.vue@@ -5,7 +5,7 @@role="menuitem"v-bind="bindings">- <p class="text-sm flex justify-between space-x-2">+ <p class="text-sm flex justify-between gap-x-2"><span class="text-main font-medium truncate text-ellipsis">{{ currentUserV1.title }}</span>diff --git a/frontend/src/components/Project/ProjectCreatePanel.vue b/frontend/src/components/Project/ProjectCreatePanel.vueindex f9637c882c..86c091a209 100644--- a/frontend/src/components/Project/ProjectCreatePanel.vue+++ b/frontend/src/components/Project/ProjectCreatePanel.vue@@ -3,7 +3,7 @@:title="$t('quick-action.create-project')"class="w-[40rem] max-w-[100vw]">- <div class="w-full space-y-6 divide-y divide-block-border">+ <div class="w-full flex flex-col gap-y-6 divide-y divide-block-border"><div class="grid gap-y-6 gap-x-4 grid-cols-1"><div class="col-span-1"><labeldiff --git a/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vue b/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vueindex f1e4ce4534..bd1db9b79f 100644--- a/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vue+++ b/frontend/src/components/Project/Settings/ProjectGeneralSettingPanel.vue@@ -1,5 +1,5 @@<template>- <form class="w-full space-y-4">+ <form class="w-full flex flex-col gap-y-4"><div><div class="font-medium">{{ $t("common.name") }}diff --git a/frontend/src/components/Project/Settings/ProjectIssueRelatedSettingPanel.vue b/frontend/src/components/Project/Settings/ProjectIssueRelatedSettingPanel.vueindex 236fe481f8..7575d5fb3b 100644--- a/frontend/src/components/Project/Settings/ProjectIssueRelatedSettingPanel.vue+++ b/frontend/src/components/Project/Settings/ProjectIssueRelatedSettingPanel.vue@@ -1,6 +1,6 @@<template>- <div class="w-full flex flex-col justify-start items-start space-y-4">- <div class="space-y-2">+ <div class="w-full flex flex-col justify-start items-start gap-y-4">+ <div class="flex flex-col gap-y-2"><div class="font-medium">{{ $t("project.settings.issue-related.labels.self") }}<div class="textinfolabel">diff --git a/frontend/src/components/Project/Settings/ProjectSecuritySettingPanel.vue b/frontend/src/components/Project/Settings/ProjectSecuritySettingPanel.vueindex cb592d013c..5a33eecc43 100644--- a/frontend/src/components/Project/Settings/ProjectSecuritySettingPanel.vue+++ b/frontend/src/components/Project/Settings/ProjectSecuritySettingPanel.vue@@ -1,5 +1,5 @@<template>- <div class="w-full flex flex-col justify-start items-start space-y-4">+ <div class="w-full flex flex-col justify-start items-start gap-y-4"><SQLReviewForResourceref="sqlReviewForResourceRef":resource="project.name"diff --git a/frontend/src/components/ProjectDatabasesPanel.vue b/frontend/src/components/ProjectDatabasesPanel.vueindex 0442cd6e31..7ed541b209 100644--- a/frontend/src/components/ProjectDatabasesPanel.vue+++ b/frontend/src/components/ProjectDatabasesPanel.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><divclass="w-full flex flex-col sm:flex-row items-start sm:items-end justify-between gap-2">diff --git a/frontend/src/components/ProjectMember/AddProjectMember/AddProjectMemberForm.vue b/frontend/src/components/ProjectMember/AddProjectMember/AddProjectMemberForm.vueindex 78ba983be5..624a6f2ea8 100644--- a/frontend/src/components/ProjectMember/AddProjectMember/AddProjectMemberForm.vue+++ b/frontend/src/components/ProjectMember/AddProjectMember/AddProjectMemberForm.vue@@ -16,7 +16,7 @@</template></MembersBindingSelect>- <div class="w-full space-y-2">+ <div class="w-full flex flex-col gap-y-2"><div class="flex items-center gap-x-1"><span>{{ $t("settings.members.assign-role") }}</span><RequiredStar />@@ -28,7 +28,7 @@:support-roles="supportRoles"/></div>- <div class="w-full space-y-2">+ <div class="w-full flex flex-col gap-y-2"><div class="flex items-center gap-x-1"><span>{{ $t("common.reason") }}</span><RequiredStar v-if="requireReason" />@@ -45,7 +45,7 @@state.role !== PresetRoleType.PROJECT_OWNER &&checkRoleContainsAnyPermission(state.role, 'bb.sql.select')"- class="w-full space-y-2"+ class="w-full flex flex-col gap-y-2"><div class="flex items-center gap-x-1"><span>{{ $t("common.databases") }}</span>diff --git a/frontend/src/components/ProjectMember/ProjectMemberPanel.vue b/frontend/src/components/ProjectMember/ProjectMemberPanel.vueindex babb49d8f8..540a22a814 100644--- a/frontend/src/components/ProjectMember/ProjectMemberPanel.vue+++ b/frontend/src/components/ProjectMember/ProjectMemberPanel.vue@@ -1,5 +1,5 @@<template>- <div class="w-full mx-auto space-y-4">+ <div class="w-full mx-auto flex flex-col gap-y-4"><div class="textinfolabel">{{ $t("project.members.description") }}<LearnMoreLinkdiff --git a/frontend/src/components/ProjectMember/ProjectMemberRolePanel/index.vue b/frontend/src/components/ProjectMember/ProjectMemberRolePanel/index.vueindex 74f0e2cdbc..2c4966df5b 100644--- a/frontend/src/components/ProjectMember/ProjectMemberRolePanel/index.vue+++ b/frontend/src/components/ProjectMember/ProjectMemberRolePanel/index.vue@@ -319,7 +319,7 @@ const getDataTableColumns = (key: "operations",width: 32,render: (singleBinding) => (- <div class="flex justify-end pr-2 space-x-2">+ <div class="flex justify-end pr-2 gap-x-2"><NButtontextonClick={() => {diff --git a/frontend/src/components/ProjectSettingPanel.vue b/frontend/src/components/ProjectSettingPanel.vueindex b49fe86c50..307586bb89 100644--- a/frontend/src/components/ProjectSettingPanel.vue+++ b/frontend/src/components/ProjectSettingPanel.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-0 pt-4">+ <div class="w-full flex flex-col gap-y-0 pt-4"><div class="divide-y divide-block-border"><!-- General Settings Section --><div class="pb-6 lg:flex">diff --git a/frontend/src/components/ProjectWebhookForm.vue b/frontend/src/components/ProjectWebhookForm.vueindex b7e5eb3c47..a047e0070b 100644--- a/frontend/src/components/ProjectWebhookForm.vue+++ b/frontend/src/components/ProjectWebhookForm.vue@@ -1,7 +1,7 @@<template><FormLayout :title="create ? $t('project.webhook.creation.title') : ''"><template v-if="!create" #title>- <div class="flex flex-row space-x-2 items-center">+ <div class="flex flex-row gap-x-2 items-center"><WebhookTypeIcon :type="props.webhook.type" class="h-6 w-6" /><h3 class="text-lg leading-6 font-medium text-main">{{ props.webhook.title }}@@ -146,7 +146,7 @@{{ $t("project.webhook.triggering-activity") }}<RequiredStar /></div>- <div class="flex flex-col space-y-4 mt-2">+ <div class="flex flex-col gap-y-4 mt-2"><div v-for="(item, index) in webhookActivityItemList" :key="index"><div><div class="flex items-center">diff --git a/frontend/src/components/ProjectWebhookPanel.vue b/frontend/src/components/ProjectWebhookPanel.vueindex 29e89da824..b7fa975852 100644--- a/frontend/src/components/ProjectWebhookPanel.vue+++ b/frontend/src/components/ProjectWebhookPanel.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><div v-if="allowEdit" class="flex items-center justify-end"><NButton type="primary" @click.prevent="addProjectWebhook"><template #icon>diff --git a/frontend/src/components/RecoveryCodesView.vue b/frontend/src/components/RecoveryCodesView.vueindex ffc9e0efc7..4a66bb1014 100644--- a/frontend/src/components/RecoveryCodesView.vue+++ b/frontend/src/components/RecoveryCodesView.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4 my-8">+ <div class="w-full flex flex-col gap-y-4 my-8"><BBAttentiontype="info":title="diff --git a/frontend/src/components/Release/ReleaseDetail/ReleaseFileTable/ReleaseFileDetailPanel.vue b/frontend/src/components/Release/ReleaseDetail/ReleaseFileTable/ReleaseFileDetailPanel.vueindex e957280631..cf953e2082 100644--- a/frontend/src/components/Release/ReleaseDetail/ReleaseFileTable/ReleaseFileDetailPanel.vue+++ b/frontend/src/components/Release/ReleaseDetail/ReleaseFileTable/ReleaseFileDetailPanel.vue@@ -1,12 +1,12 @@<template><div class="w-full"><div class="flex flex-row items-center gap-2">- <p class="text-lg space-x-1">+ <p class="text-lg flex gap-x-1"><span class="text-control">{{ $t("common.version") }}:</span><span class="font-bold text-main">{{ releaseFile.version }}</span></p></div>- <p class="mt-3 text-control text-sm space-x-4">+ <p class="mt-3 text-control text-sm flex gap-x-4"><span v-if="releaseFile.path">{{ $t("database.revision.filename") }}: {{ releaseFile.path }}</span>diff --git a/frontend/src/components/Revision/CreateRevisionDrawer.vue b/frontend/src/components/Revision/CreateRevisionDrawer.vueindex bbaab6b678..d642b4abb7 100644--- a/frontend/src/components/Revision/CreateRevisionDrawer.vue+++ b/frontend/src/components/Revision/CreateRevisionDrawer.vue@@ -34,7 +34,7 @@<NRadioGroupv-model:value="selectedSource"size="large"- class="space-y-4 w-full"+ class="flex flex-col gap-y-4 w-full"><divclass="border border-gray-200 rounded-lg p-4 hover:border-gray-300 transition-colors"@@ -43,13 +43,13 @@}"><NRadio value="release" class="w-full">- <div class="flex items-start space-x-3 w-full">+ <div class="flex items-start gap-x-3 w-full"><PackageIconclass="w-6 h-6 mt-1 shrink-0":stroke-width="1.5"/><div class="flex-1">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><span class="text-lg font-medium text-gray-900">{{ $t("database.revision.from-release") }}</span>@@ -68,13 +68,13 @@}"><NRadio value="local" class="w-full">- <div class="flex items-start space-x-3 w-full">+ <div class="flex items-start gap-x-3 w-full"><FolderOpenIconclass="w-6 h-6 mt-1 shrink-0":stroke-width="1.5"/><div class="flex-1">- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><span class="text-lg font-medium text-gray-900">{{ $t("database.revision.from-local-files") }}</span>@@ -97,7 +97,7 @@currentStep === Step.UPLOAD_FILES && selectedSource === 'local'">- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><div class="text-sm text-gray-600">{{ $t("database.revision.upload-files-description") }}</div>@@ -139,7 +139,7 @@/><!-- Uploaded files list -->- <div v-if="localFiles.length > 0" class="space-y-3">+ <div v-if="localFiles.length > 0" class="flex flex-col gap-y-3"><div class="flex items-center justify-between"><h4 class="font-medium text-control">{{ $t("database.revision.uploaded-files") }}@@ -160,10 +160,10 @@<divv-for="(file, index) in localFiles":key="index"- class="border border-gray-200 rounded-lg p-4 space-y-3"+ class="border border-gray-200 rounded-lg p-4 flex flex-col gap-y-3"><div class="flex items-start justify-between">- <div class="flex-1 space-y-3">+ <div class="flex-1 flex flex-col gap-y-3"><div class="flex items-center gap-2"><FileIcon class="w-4 h-4 text-gray-500" /><span class="text-sm font-medium">{{ file.name }}</span>@@ -248,7 +248,7 @@selectedSource === 'release'">- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><div class="text-sm text-gray-600">{{ $t("database.revision.select-release-description") }}</div>@@ -275,13 +275,16 @@<!-- Step 3: Select Files --><template v-else-if="currentStep === Step.SELECT_FILES">- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><div class="text-sm text-gray-600">{{ $t("database.revision.select-files-description") }}</div><!-- Selectable files section -->- <div v-if="selectableFiles.length > 0" class="space-y-2">+ <div+ v-if="selectableFiles.length > 0"+ class="flex flex-col gap-y-2"+ ><div><h4 class="font-medium text-control">{{ $t("database.revision.available-files") }}@@ -304,7 +307,7 @@<!-- Files with existing versions section --><divv-if="filesWithExistingVersions.length > 0"- class="space-y-2 mt-6"+ class="flex flex-col gap-y-2 mt-6"><div><h4 class="text font-medium text-control">diff --git a/frontend/src/components/Revision/RevisionDetailPanel.vue b/frontend/src/components/Revision/RevisionDetailPanel.vueindex 2abbe4e9da..1fb47de7bb 100644--- a/frontend/src/components/Revision/RevisionDetailPanel.vue+++ b/frontend/src/components/Revision/RevisionDetailPanel.vue@@ -1,13 +1,13 @@<template><div v-if="revision" class="w-full"><div class="flex flex-row items-center gap-2">- <p class="text-lg space-x-1">+ <p class="text-lg flex gap-x-1"><span class="text-control">{{ $t("common.version") }}:</span><span class="font-bold text-main">{{ revision.version }}</span></p></div><div- class="mt-3 text-control text-base space-x-4 flex flex-row items-center flex-wrap"+ class="mt-3 text-control text-base flex flex-row items-center flex-wrap gap-x-4"><span>{{ $t("database.revision.applied-at") }}:diff --git a/frontend/src/components/Role/Setting/RoleSetting.vue b/frontend/src/components/Role/Setting/RoleSetting.vueindex 4f2444c7ae..1bd1e5d2c5 100644--- a/frontend/src/components/Role/Setting/RoleSetting.vue+++ b/frontend/src/components/Role/Setting/RoleSetting.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-4">+ <div class="gap-y-4"><div class="textinfolabel">{{ $t("role.setting.description") }}<LearnMoreLinkdiff --git a/frontend/src/components/Role/Setting/components/ImportPermissionFromRoleModal.vue b/frontend/src/components/Role/Setting/components/ImportPermissionFromRoleModal.vueindex 594a4da66d..b7f0f7daf2 100644--- a/frontend/src/components/Role/Setting/components/ImportPermissionFromRoleModal.vue+++ b/frontend/src/components/Role/Setting/components/ImportPermissionFromRoleModal.vue@@ -1,6 +1,6 @@<template><BBModal :title="$t('role.import-from-role')" @close="$emit('cancel')">- <div class="w-96 mb-2 space-y-2">+ <div class="w-96 mb-2 gap-y-2"><div><p class="textlabel mb-1">{{ $t("role.select-role") }}</p><NSelectdiff --git a/frontend/src/components/Rollout/RolloutDataTable.vue b/frontend/src/components/Rollout/RolloutDataTable.vueindex 3784e9223f..f5830ba849 100644--- a/frontend/src/components/Rollout/RolloutDataTable.vue+++ b/frontend/src/components/Rollout/RolloutDataTable.vue@@ -62,7 +62,7 @@ const columnList = computed(ellipsis: true,render: (rollout) => {return (- <div class={`flex items-center overflow-hidden space-x-2`}>+ <div class={`flex items-center overflow-hidden gap-x-2`}><div class="whitespace-nowrap text-control opacity-60">{extractRolloutUID(rollout.name)}</div>diff --git a/frontend/src/components/SQLReview/SQLReviewInfo.vue b/frontend/src/components/SQLReview/SQLReviewInfo.vueindex 34dae59083..3481fb4db7 100644--- a/frontend/src/components/SQLReview/SQLReviewInfo.vue+++ b/frontend/src/components/SQLReview/SQLReviewInfo.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-6">+ <div class="flex flex-col gap-y-6"><div v-if="attachedResources.length > 0"><label class="textlabel">{{ $t("sql-review.attach-resource.self") }}@@ -11,7 +11,7 @@<NRadioGroupv-model:value="resourceType":disabled="!allowChangeAttachedResource"- class="space-x-2 mt-2"+ class="flex gap-x-2 mt-2"><NRadio value="environment">{{ $t("common.environment") }}</NRadio><NRadio value="project">{{ $t("common.project") }}</NRadio>diff --git a/frontend/src/components/SQLReview/components/RuleConfigComponents/BooleanComponent.vue b/frontend/src/components/SQLReview/components/RuleConfigComponents/BooleanComponent.vueindex 0037651ec1..c3d73dc1b3 100644--- a/frontend/src/components/SQLReview/components/RuleConfigComponents/BooleanComponent.vue+++ b/frontend/src/components/SQLReview/components/RuleConfigComponents/BooleanComponent.vue@@ -4,7 +4,7 @@:disabled="disabled"@update:checked="$emit('update:value', $event)">- <div class="flex items-center space-x-1">+ <div class="flex items-center gap-x-1"><p class="font-medium">{{ title }}</p>diff --git a/frontend/src/components/SQLReview/components/RuleConfigComponents/RuleConfig.vue b/frontend/src/components/SQLReview/components/RuleConfigComponents/RuleConfig.vueindex 11b75dd83e..1ef0824f00 100644--- a/frontend/src/components/SQLReview/components/RuleConfigComponents/RuleConfig.vue+++ b/frontend/src/components/SQLReview/components/RuleConfigComponents/RuleConfig.vue@@ -1,13 +1,13 @@<template>- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><divv-for="(config, index) in rule.componentList":key="index"- class="space-y-1"+ class="flex flex-col gap-y-1"><divv-if="config.payload.type !== 'BOOLEAN'"- class="flex items-center space-x-1"+ class="flex items-center gap-x-1"><p:class="[diff --git a/frontend/src/components/SQLReview/components/SQLReviewAttachResourcesPanel.vue b/frontend/src/components/SQLReview/components/SQLReviewAttachResourcesPanel.vueindex 4cc3490841..d370cd619d 100644--- a/frontend/src/components/SQLReview/components/SQLReviewAttachResourcesPanel.vue+++ b/frontend/src/components/SQLReview/components/SQLReviewAttachResourcesPanel.vue@@ -5,7 +5,7 @@class="w-[40rem] max-w-[100vw] relative"><template #default>- <div class="space-y-6">+ <div class="flex flex-col gap-y-6"><p class="textinfolabel">{{ $t("sql-review.attach-resource.label") }}</p>@@ -27,7 +27,7 @@"/></div>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><div class="textlabel w-10 capitalize">{{ $t("common.or") }}</div><NDivider /></div>diff --git a/frontend/src/components/SQLReview/components/SQLReviewPolicySelectPanel.vue b/frontend/src/components/SQLReview/components/SQLReviewPolicySelectPanel.vueindex d55bdf8ae5..34a1375034 100644--- a/frontend/src/components/SQLReview/components/SQLReviewPolicySelectPanel.vue+++ b/frontend/src/components/SQLReview/components/SQLReviewPolicySelectPanel.vue@@ -5,7 +5,7 @@class="w-240 max-w-[100vw] relative"><template #default>- <div class="space-y-4">+ <div class="gap-y-4"><i18n-tkeypath="sql-review.select-review-label"tag="p"diff --git a/frontend/src/components/SQLReview/components/SQLReviewPolicyTable.vue b/frontend/src/components/SQLReview/components/SQLReviewPolicyTable.vueindex 9e609559d7..57a5f1d04e 100644--- a/frontend/src/components/SQLReview/components/SQLReviewPolicyTable.vue+++ b/frontend/src/components/SQLReview/components/SQLReviewPolicyTable.vue@@ -11,7 +11,7 @@</div><div- class="flex flex-col lg:hidden border px-2 pb-4 divide-y space-y-4 divide-block-border"+ class="flex flex-col lg:hidden border px-2 pb-4 divide-y gap-y-4 divide-block-border"><divv-for="(review, i) in reviewList"@@ -21,7 +21,7 @@<div class="text-md">{{ review.name }}</div>- <div class="space-y-2 space-x-2">+ <div class="flex flex-wrap gap-y-2 gap-x-2"><BBBadgev-for="resource in review.resources":key="resource"diff --git a/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vue b/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vueindex 410d7f919f..6e7328e84e 100644--- a/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vue+++ b/frontend/src/components/SQLReview/components/SQLReviewTabsByEngine.vue@@ -6,7 +6,7 @@:name="engine"><template #tab>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><RichEngineName:engine="engine"tag="p"diff --git a/frontend/src/components/SQLReview/components/SQLReviewTemplateSelector.vue b/frontend/src/components/SQLReview/components/SQLReviewTemplateSelector.vueindex 4b69714a13..2c9f84738f 100644--- a/frontend/src/components/SQLReview/components/SQLReviewTemplateSelector.vue+++ b/frontend/src/components/SQLReview/components/SQLReviewTemplateSelector.vue@@ -19,11 +19,11 @@"@click="$emit('select-template', template)">- <div class="text-left space-y-2">+ <div class="text-left flex flex-col gap-y-2"><span class="text-base font-medium">{{ template.review.name }}</span>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><BBBadgev-for="resource in template.review.resources":key="resource"@@ -60,7 +60,7 @@"@click="$emit('select-template', template)">- <div class="flex justify-center items-center space-x-1">+ <div class="flex justify-center items-center gap-x-1"><div class="text-left"><span class="text-base font-medium">{{diff --git a/frontend/src/components/SQLReview/components/SQLRuleEditDialog.vue b/frontend/src/components/SQLReview/components/SQLRuleEditDialog.vueindex 8baa436c76..2be3abcd34 100644--- a/frontend/src/components/SQLReview/components/SQLRuleEditDialog.vue+++ b/frontend/src/components/SQLReview/components/SQLRuleEditDialog.vue@@ -3,13 +3,13 @@:title="getRuleLocalization(rule.type, rule.engine).title"@close="$emit('cancel')">- <div class="space-y-4 w-[calc(100vw-5rem)] sm:w-[40rem] pb-1">- <div class="space-y-1">- <div class="flex items-center space-x-2">+ <div class="flex flex-col gap-y-4 w-[calc(100vw-5rem)] sm:w-[40rem] pb-1">+ <div class="flex flex-col gap-y-1">+ <div class="flex items-center gap-x-2"><h3 class="text-lg text-control font-medium">{{ $t("common.name") }}</h3>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><RichEngineName:engine="rule.engine"tag="p"@@ -22,13 +22,13 @@<a:href="`https://docs.bytebase.com/sql-review/review-rules#${rule.type}`"target="__blank"- class="flex flex-row space-x-2 items-center text-base text-gray-500 hover:text-gray-900"+ class="flex flex-row gap-x-2 items-center text-base text-gray-500 hover:text-gray-900"><heroicons-outline:external-link class="w-4 h-4" /></a></div></div>- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><h3 class="text-lg text-control font-medium">{{ $t("sql-review.level.name") }}</h3>@@ -40,7 +40,7 @@/></div></div>- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><h3 class="text-lg text-control font-medium">{{ $t("common.description") }}</h3>diff --git a/frontend/src/components/SQLReview/components/SQLRuleFilter.vue b/frontend/src/components/SQLReview/components/SQLRuleFilter.vueindex 0f75273986..a627e8e9f2 100644--- a/frontend/src/components/SQLReview/components/SQLRuleFilter.vue+++ b/frontend/src/components/SQLReview/components/SQLRuleFilter.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-3">+ <div class="gap-y-3"><SQLReviewCategoryTabFilter:value="params.selectedCategory":rule-list="ruleList"@@ -21,7 +21,7 @@:is-checked-level="(level) => params.checkedLevel.has(level)"@toggle-checked-level="$emit('toggle-checked-level', $event)"/>- <div v-if="supportSelect" class="flex items-center space-x-2">+ <div v-if="supportSelect" class="flex items-center gap-x-2"><NCheckbox:checked="selectedRuleCount === ruleList.length":indeterminate="diff --git a/frontend/src/components/SQLReview/components/SQLRuleTable.vue b/frontend/src/components/SQLReview/components/SQLRuleTable.vueindex 053261d26c..b7427a1ab6 100644--- a/frontend/src/components/SQLReview/components/SQLRuleTable.vue+++ b/frontend/src/components/SQLReview/components/SQLRuleTable.vue@@ -29,12 +29,12 @@/></div><div- class="flex flex-col lg:hidden border px-2 pb-4 divide-y space-y-4 divide-block-border"+ class="flex flex-col lg:hidden border px-2 pb-4 divide-y gap-y-4 divide-block-border"><divv-for="rule in category.ruleList":key="rule.type"- class="pt-4 space-y-3"+ class="pt-4 gap-y-3"><div class="flex justify-between items-center gap-x-2"><div class="flex items-center gap-x-1">@@ -205,12 +205,12 @@ const columns = computed(() => {key: "name",render: (rule: RuleTemplateV2) => {return (- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><span>{getRuleLocalization(rule.type, rule.engine).title}</span><ahref={`https://docs.bytebase.com/sql-review/review-rules#${rule.type}`}target="_blank"- class="flex flex-row space-x-2 items-center text-base text-gray-500 hover:text-gray-900"+ class="flex flex-row gap-x-2 items-center text-base text-gray-500 hover:text-gray-900"><ExternalLinkIcon class="w-4 h-4" /></a>diff --git a/frontend/src/components/SchemaDiagram/Navigator/Navigator.vue b/frontend/src/components/SchemaDiagram/Navigator/Navigator.vueindex cbe43c7ed1..a81265a117 100644--- a/frontend/src/components/SchemaDiagram/Navigator/Navigator.vue+++ b/frontend/src/components/SchemaDiagram/Navigator/Navigator.vue@@ -4,7 +4,7 @@class="bb-schema-diagram--navigator--main h-full bg-white overflow-hidden border-y border-gray-200 flex flex-col transition-all":class="[state.expand ? 'w-72 shadow-sm border-l' : 'w-0']">- <div class="p-1 space-y-2">+ <div class="p-1 gap-y-2"><SchemaSelectorv-if="hasSchemaProperty(database.instanceResource.engine)":schemas="databaseMetadata.schemas"diff --git a/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue b/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vueindex 05640e06b9..1b7c411ff4 100644--- a/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue+++ b/frontend/src/components/SchemaEditorLite/Panels/DatabaseEditor.vue@@ -4,7 +4,7 @@<div><divv-if="state.selectedSubTab === 'table-list'"- class="w-full flex justify-between items-center space-x-2"+ class="w-full flex justify-between items-center gap-x-2"><div class="flex flex-row justify-start items-center gap-x-2"><divdiff --git a/frontend/src/components/SchemaEditorLite/TabsContainer.vue b/frontend/src/components/SchemaEditorLite/TabsContainer.vueindex 2aefa49fe2..5b65a3096a 100644--- a/frontend/src/components/SchemaEditorLite/TabsContainer.vue+++ b/frontend/src/components/SchemaEditorLite/TabsContainer.vue@@ -5,7 +5,7 @@><divref="tabsContainerRef"- class="flex flex-nowrap overflow-x-auto max-x-full hide-scrollbar overscroll-none px-1 space-x-1"+ class="flex flex-nowrap overflow-x-auto max-x-full hide-scrollbar overscroll-none px-1 gap-x-1"><divv-for="tab in tabList"diff --git a/frontend/src/components/SchemaTemplate/ClassificationTree.vue b/frontend/src/components/SchemaTemplate/ClassificationTree.vueindex 9d18d2c0cc..8ad9bf1ab0 100644--- a/frontend/src/components/SchemaTemplate/ClassificationTree.vue+++ b/frontend/src/components/SchemaTemplate/ClassificationTree.vue@@ -1,5 +1,5 @@<template>- <div class="divide-block-border space-y-4 h-full">+ <div class="divide-block-border flex flex-col gap-y-4 h-full"><SearchBoxv-model:value="state.searchText"style="max-width: 100%"diff --git a/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue b/frontend/src/components/SchemaTemplate/FieldTemplateForm.vueindex f737451e00..c719cb8c80 100644--- a/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue+++ b/frontend/src/components/SchemaTemplate/FieldTemplateForm.vue@@ -1,7 +1,7 @@<template><DrawerContent :title="$t('schema-template.field-template.self')">- <div class="space-y-6 divide-y divide-block-border">- <div class="space-y-6">+ <div class="flex flex-col gap-y-6 divide-y divide-block-border">+ <div class="flex flex-col gap-y-6"><!-- category --><div class="sm:col-span-2 sm:col-start-1"><label for="category" class="textlabel">@@ -22,7 +22,7 @@</div></div>- <div class="w-full mb-6 space-y-1">+ <div class="w-full mb-6 flex flex-col gap-y-1"><label for="engine" class="textlabel">{{ $t("database.engine") }}</label>@@ -34,7 +34,7 @@/></div></div>- <div class="space-y-6 pt-6">+ <div class="flex flex-col gap-y-6 pt-6"><div class="grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-4"><!-- column name --><div class="sm:col-span-2 sm:col-start-1">@@ -179,7 +179,7 @@</div></div>- <div class="space-y-1 pt-6">+ <div class="flex flex-col gap-y-1 pt-6"><label for="category" class="textlabel">{{ $t("common.labels") }}</label>diff --git a/frontend/src/components/SchemaTemplate/FieldTemplateView.vue b/frontend/src/components/SchemaTemplate/FieldTemplateView.vueindex f969b0cbc9..bdee577a51 100644--- a/frontend/src/components/SchemaTemplate/FieldTemplateView.vue+++ b/frontend/src/components/SchemaTemplate/FieldTemplateView.vue@@ -2,12 +2,12 @@<NEmpty v-if="templateList.length === 0" class="py-12 border rounded-sm" /><div v-else class="flex"><div- class="hidden lg:flex w-1/5 max-w-xs flex-col space-y-3 border-r mr-5 pr-5"+ class="hidden lg:flex w-1/5 max-w-xs flex-col gap-y-3 border-r mr-5 pr-5"><p class="text-lg">{{ $t("schema-template.form.category") }}</p>- <div class="space-y-2">+ <div class="gap-y-2"><NCheckboxv-for="item in categoryList":key="item.id"diff --git a/frontend/src/components/SchemaTemplate/TableTemplateForm.vue b/frontend/src/components/SchemaTemplate/TableTemplateForm.vueindex e248adc0f4..d268e15eed 100644--- a/frontend/src/components/SchemaTemplate/TableTemplateForm.vue+++ b/frontend/src/components/SchemaTemplate/TableTemplateForm.vue@@ -1,7 +1,9 @@<template><DrawerContent :title="$t('schema-template.table-template.self')">- <div class="space-y-6 divide-y divide-block-border w-[calc(100vw-256px)]">- <div class="space-y-6">+ <div+ class="flex flex-col gap-y-6 divide-y divide-block-border w-[calc(100vw-256px)]"+ >+ <div class="flex flex-col gap-y-6"><!-- category --><div class="sm:col-span-2 sm:col-start-1"><label for="category" class="textlabel">@@ -22,7 +24,7 @@</div></div>- <div class="w-full mb-6 space-y-1">+ <div class="w-full mb-6 flex flex-col gap-y-1"><label for="engine" class="textlabel">{{ $t("database.engine") }}</label>@@ -59,7 +61,7 @@</div></div></div>- <div class="space-y-6 pt-6">+ <div class="flex flex-col gap-y-6 pt-6"><div class="grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-4"><!-- table name --><div class="sm:col-span-2 sm:col-start-1">@@ -89,10 +91,7 @@</div><div class="col-span-4">- <div- v-if="!readonly"- class="w-full py-2 flex items-center space-x-2"- >+ <div v-if="!readonly" class="w-full py-2 flex items-center gap-x-2"><NButton size="small" :disabled="false" @click="onColumnAdd"><template #icon><PlusIcon class="w-4 h-4 text-control-placeholder" />diff --git a/frontend/src/components/SchemaTemplate/TableTemplateView.vue b/frontend/src/components/SchemaTemplate/TableTemplateView.vueindex 5793dec472..e816aed223 100644--- a/frontend/src/components/SchemaTemplate/TableTemplateView.vue+++ b/frontend/src/components/SchemaTemplate/TableTemplateView.vue@@ -2,12 +2,12 @@<NEmpty v-if="templateList.length === 0" class="py-12 border rounded-sm" /><div v-else class="flex"><div- class="hidden lg:flex w-1/5 max-w-xs flex-col space-y-3 border-r mr-5 pr-5"+ class="hidden lg:flex w-1/5 max-w-xs flex-col gap-y-3 border-r mr-5 pr-5"><p class="text-lg">{{ $t("schema-template.form.category") }}</p>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><NCheckboxv-for="item in categoryList":key="item.id"diff --git a/frontend/src/components/SensitiveData/ClassificationView.vue b/frontend/src/components/SensitiveData/ClassificationView.vueindex ed2b285986..75b6ebae3c 100644--- a/frontend/src/components/SensitiveData/ClassificationView.vue+++ b/frontend/src/components/SensitiveData/ClassificationView.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><div class="text-sm text-control-light">{{ $t("database.classification.description") }}<LearnMoreLink@@ -8,7 +8,7 @@/></div><div>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><NSwitch:value="!state.classification.classificationFromConfig":disabled="@@ -71,7 +71,7 @@class="flex justify-center border-2 border-gray-300 border-dashed rounded-md relative h-72"><SingleFileSelector- class="space-y-1 text-center flex flex-col justify-center items-center absolute top-0 bottom-0 left-0 right-0"+ class="flex flex-col gap-y-1 text-center justify-center items-center absolute top-0 bottom-0 left-0 right-0":support-file-extensions="['.json']":max-file-size-in-mi-b="maxFileSizeInMiB":disabled="!allowEdit || !hasClassificationFeature"diff --git a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vueindex 0bee889dc6..0a296ebed0 100644--- a/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue+++ b/frontend/src/components/SensitiveData/GlobalMaskingRulesView.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><div class="flex flex-row items-center justify-end"><div v-if="state.reorderRules" class="flex items-center gap-x-2"><NButtondiff --git a/frontend/src/components/SensitiveData/GrantAccessForm.vue b/frontend/src/components/SensitiveData/GrantAccessForm.vueindex 88a4ef7449..f09c7739ad 100644--- a/frontend/src/components/SensitiveData/GrantAccessForm.vue+++ b/frontend/src/components/SensitiveData/GrantAccessForm.vue@@ -1,7 +1,7 @@<template><FormLayout :title="title"><template #body>- <div class="space-y-8">+ <div class="flex flex-col gap-y-8"><div class="w-full"><div class="flex items-center gap-x-1 mb-2"><span class="text-main">@@ -24,7 +24,7 @@</span><RequiredStar /></div>- <div class="flex space-x-4">+ <div class="flex gap-x-4"><NCheckboxv-for="action in ACTIONS":key="action"diff --git a/frontend/src/components/SensitiveData/MaskingExceptionUserTable.vue b/frontend/src/components/SensitiveData/MaskingExceptionUserTable.vueindex b15668fea2..63012c7fdf 100644--- a/frontend/src/components/SensitiveData/MaskingExceptionUserTable.vue+++ b/frontend/src/components/SensitiveData/MaskingExceptionUserTable.vue@@ -124,7 +124,7 @@ const getDatabaseAccessResource = (access: AccessUser): VNodeChild => {const validDatabase = isValidDatabaseResource(access);return (- <div class="space-y-1">+ <div class="flex flex-col gap-y-1">{validDatabase && (<div class="flex flex-col xl:flex-row xl:items-center gap-x-1 text-sm textinfo"><span class="font-medium">{`${t("common.instance")}:`}</span>@@ -491,7 +491,7 @@ const revokeAccessAlert = (title: t("common.warning"),content: () => {return (- <div class="space-y-3">+ <div class="flex flex-col gap-y-3"><div class="textlabel text-base!">{t("project.masking-exemption.revoke-exemption-title", {member: getMemberBinding(item),diff --git a/frontend/src/components/SensitiveData/SemanticTypesView.vue b/frontend/src/components/SensitiveData/SemanticTypesView.vueindex 2e80b7a674..fe931998af 100644--- a/frontend/src/components/SensitiveData/SemanticTypesView.vue+++ b/frontend/src/components/SensitiveData/SemanticTypesView.vue@@ -1,6 +1,6 @@<template>- <div class="w-full space-y-4">- <div class="flex items-center justify-end space-x-2">+ <div class="w-full flex flex-col gap-y-4">+ <div class="flex items-center justify-end gap-x-2"><NButton:disabled="!hasPermission || !hasSensitiveDataFeature"@click="state.showTemplateDrawer = true"diff --git a/frontend/src/components/SensitiveData/components/IconSelector.vue b/frontend/src/components/SensitiveData/components/IconSelector.vueindex c29637e2f5..2dd196a741 100644--- a/frontend/src/components/SensitiveData/components/IconSelector.vue+++ b/frontend/src/components/SensitiveData/components/IconSelector.vue@@ -25,7 +25,7 @@<template #trigger><div class="w-full" /></template>- <div class="p-2 space-y-2">+ <div class="p-2 flex flex-col gap-y-2"><SingleFileSelectorclass="w-48 h-32":max-file-size-in-mi-b="2"diff --git a/frontend/src/components/SensitiveData/components/MaskingAlgorithmsCreateDrawer.vue b/frontend/src/components/SensitiveData/components/MaskingAlgorithmsCreateDrawer.vueindex c5a8b04971..bca0879d9f 100644--- a/frontend/src/components/SensitiveData/components/MaskingAlgorithmsCreateDrawer.vue+++ b/frontend/src/components/SensitiveData/components/MaskingAlgorithmsCreateDrawer.vue@@ -8,10 +8,10 @@"><div- class="w-[40rem] max-w-[calc(100vw-5rem)] space-y-6 divide-y divide-block-border"+ class="w-[40rem] max-w-[calc(100vw-5rem)] flex flex-col gap-y-6 divide-y divide-block-border">- <div class="space-y-6">- <div class="w-full mb-6 space-y-1">+ <div class="flex flex-col gap-y-6">+ <div class="w-full mb-6 flex flex-col gap-y-1"><label for="masking-type" class="textlabel">{{ $t("settings.sensitive-data.algorithms.table.masking-type") }}<RequiredStar />@@ -29,7 +29,7 @@</RadioGrid></div></div>- <div class="space-y-6 pt-6">+ <div class="flex flex-col gap-y-6 pt-6"><template v-if="state.maskingType === 'full-mask'"><div class="sm:col-span-2 sm:col-start-1"><label for="substitution" class="textlabel">@@ -64,7 +64,7 @@<divv-for="(slice, i) in state.rangeMask.slices":key="i"- class="flex space-x-2 items-center"+ class="flex gap-x-2 items-center"><div class="flex-none flex flex-col gap-y-1"><label for="slice-start" class="textlabel flex">@@ -204,7 +204,7 @@}}</NRadio></NRadioGroup>- <div class="flex space-x-2 items-center">+ <div class="flex gap-x-2 items-center"><div class="flex-none flex flex-col gap-y-1"><label for="slice-start" class="textlabel flex">{{diff --git a/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue b/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vueindex bf72bf75ba..131cd44b86 100644--- a/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue+++ b/frontend/src/components/SensitiveData/components/MaskingRuleConfig.vue@@ -1,9 +1,11 @@<template>- <div class="space-y-4 w-full">+ <div class="flex flex-col gap-y-4 w-full"><divclass="flex flex-col md:flex-row items-start md:items-stretch gap-x-4 gap-y-4 overflow-hidden">- <div class="flex-1 space-y-2 overflow-x-hidden overflow-y-auto">+ <div+ class="flex-1 flex flex-col gap-y-2 overflow-x-hidden overflow-y-auto"+ ><div class="flex items-center h-[36px]"><NInputv-if="!readonly"diff --git a/frontend/src/components/SensitiveData/components/SemanticTemplateDrawer.vue b/frontend/src/components/SensitiveData/components/SemanticTemplateDrawer.vueindex 01e8a6d015..0324c7ec10 100644--- a/frontend/src/components/SensitiveData/components/SemanticTemplateDrawer.vue+++ b/frontend/src/components/SensitiveData/components/SemanticTemplateDrawer.vue@@ -4,7 +4,7 @@:title="$t('settings.sensitive-data.semantic-types.add-from-template')"class="max-w-[100vw]">- <div class="w-2xl space-y-4">+ <div class="w-2xl flex flex-col gap-y-4"><p class="textinfolabel">{{$t("settings.sensitive-data.semantic-types.template.description")diff --git a/frontend/src/components/SensitiveData/components/SemanticTypesDrawer.vue b/frontend/src/components/SensitiveData/components/SemanticTypesDrawer.vueindex 47734750e2..22b7ce7cfa 100644--- a/frontend/src/components/SensitiveData/components/SemanticTypesDrawer.vue+++ b/frontend/src/components/SensitiveData/components/SemanticTypesDrawer.vue@@ -1,7 +1,7 @@<template><Drawer :show="show" @close="$emit('dismiss')"><DrawerContent :title="$t('settings.sensitive-data.semantic-types.self')">- <div class="divide-block-border space-y-8 w-200 h-full">+ <div class="divide-block-border flex flex-col gap-y-8 w-200 h-full"><SemanticTypesTable:readonly="true":row-clickable="true"diff --git a/frontend/src/components/SensitiveData/components/SemanticTypesTable.vue b/frontend/src/components/SensitiveData/components/SemanticTypesTable.vueindex f2562bbe36..80ec988adc 100644--- a/frontend/src/components/SensitiveData/components/SemanticTypesTable.vue+++ b/frontend/src/components/SensitiveData/components/SemanticTypesTable.vue@@ -217,7 +217,7 @@ const columnList = computed(() => {width: "minmax(min-content, auto)",render: (item, row) => {return (- <div class="flex items-center space-x-1">+ <div class="flex items-center gap-x-1">{isBuiltinSemanticType(item.item) ? (<h3>{t(diff --git a/frontend/src/components/SyncDatabaseSchemaV1/DatabaseSchemaSelector.vue b/frontend/src/components/SyncDatabaseSchemaV1/DatabaseSchemaSelector.vueindex 76259a4a82..473ca47aa0 100644--- a/frontend/src/components/SyncDatabaseSchemaV1/DatabaseSchemaSelector.vue+++ b/frontend/src/components/SyncDatabaseSchemaV1/DatabaseSchemaSelector.vue@@ -1,6 +1,6 @@<template><div- class="w-full mx-auto flex flex-col justify-start items-start space-y-3 mb-6"+ class="w-full mx-auto flex flex-col justify-start items-start gap-y-3 mb-6"><divclass="w-full flex flex-col gap-y-2 lg:flex-row justify-start items-start lg:items-center"diff --git a/frontend/src/components/SyncDatabaseSchemaV1/DiffViewPanel.vue b/frontend/src/components/SyncDatabaseSchemaV1/DiffViewPanel.vueindex 9d9e6d8373..bd31536a8d 100644--- a/frontend/src/components/SyncDatabaseSchemaV1/DiffViewPanel.vue+++ b/frontend/src/components/SyncDatabaseSchemaV1/DiffViewPanel.vue@@ -30,7 +30,7 @@<template v-if="tab === 'ddl'"><div class="w-full flex flex-col justify-start">- <div class="flex flex-row justify-start items-center space-x-2">+ <div class="flex flex-row justify-start items-center gap-x-2"><span>{{ $t("database.sync-schema.synchronize-statements") }}</span><CopyButton size="small" :content="statement" /></div>diff --git a/frontend/src/components/SyncDatabaseSchemaV1/RawSQLEditor.vue b/frontend/src/components/SyncDatabaseSchemaV1/RawSQLEditor.vueindex 396e736e6a..951664fc38 100644--- a/frontend/src/components/SyncDatabaseSchemaV1/RawSQLEditor.vue+++ b/frontend/src/components/SyncDatabaseSchemaV1/RawSQLEditor.vue@@ -12,7 +12,7 @@/></div></div>- <div class="flex flex-row justify-end items-center space-x-3">+ <div class="flex flex-row justify-end items-center gap-x-3"><SQLUploadButton @update:sql="handleStatementChange">{{ $t("issue.upload-sql") }}</SQLUploadButton>diff --git a/frontend/src/components/SyncDatabaseSchemaV1/SchemaDiffViewer.vue b/frontend/src/components/SyncDatabaseSchemaV1/SchemaDiffViewer.vueindex d59000c1c6..f8df662078 100644--- a/frontend/src/components/SyncDatabaseSchemaV1/SchemaDiffViewer.vue+++ b/frontend/src/components/SyncDatabaseSchemaV1/SchemaDiffViewer.vue@@ -2,7 +2,7 @@<div class="w-full h-full flex flex-col gap-2"><div class="w-full flex flex-row justify-between items-center"><span>{{ title }}</span>- <div class="space-x-2 shrink-0">+ <div class="flex gap-x-2 shrink-0"><NButton size="small" @click="handleNavigatorClick('previous')"><template #icon><ArrowUpIcon class="w-5 h-auto" />diff --git a/frontend/src/components/SyncDatabaseSchemaV1/index.vue b/frontend/src/components/SyncDatabaseSchemaV1/index.vueindex 75d3643003..53ff47e17d 100644--- a/frontend/src/components/SyncDatabaseSchemaV1/index.vue+++ b/frontend/src/components/SyncDatabaseSchemaV1/index.vue@@ -15,7 +15,7 @@</div><StepTabv-else- class="pt-4 flex-1 overflow-hidden flex flex-col space-y-4!"+ class="pt-4 flex-1 overflow-hidden flex flex-col gap-y-4!":step-list="stepTabList":current-index="state.currentStep":show-cancel="false"@@ -28,7 +28,10 @@><template #0><div class="mb-4">- <NRadioGroup v-model:value="state.sourceSchemaType" class="space-x-4">+ <NRadioGroup+ v-model:value="state.sourceSchemaType"+ class="flex gap-x-4"+ ><NRadio:value="SourceSchemaType.SCHEMA_HISTORY_VERSION":label="$t('database.sync-schema.schema-history-version')"diff --git a/frontend/src/components/TableDetailDrawer.vue b/frontend/src/components/TableDetailDrawer.vueindex 68aa4da05b..3d03d1ec66 100644--- a/frontend/src/components/TableDetailDrawer.vue+++ b/frontend/src/components/TableDetailDrawer.vue@@ -27,7 +27,7 @@</div></div><dl- class="flex flex-col space-y-1 md:space-y-0 md:flex-row md:flex-wrap"+ class="flex flex-col gap-y-1 md:gap-y-0 md:flex-row md:flex-wrap"><dt class="sr-only">{{ $t("common.environment") }}</dt><dd class="flex items-center text-sm md:mr-4">@@ -103,7 +103,9 @@</div><div class="mt-6">- <div class="max-w-6xl px-6 space-y-6 divide-y divide-block-border">+ <div+ class="max-w-6xl px-6 flex flex-col gap-y-6 divide-y divide-block-border"+ ><!-- Description list --><dl class="grid grid-cols-1 gap-x-4 gap-y-4 sm:grid-cols-3"><div@@ -204,7 +206,7 @@<divv-if="instanceV1SupportsColumn(instanceEngineNew)"- class="mt-6 px-6 space-y-4"+ class="mt-6 px-6 flex flex-col gap-y-4"><div class="w-full flex flex-row justify-between items-center"><div class="text-lg leading-6 font-medium text-main">@@ -232,7 +234,7 @@<divv-if="instanceV1SupportsIndex(instanceEngineNew)"- class="mt-6 px-6 space-y-4"+ class="mt-6 px-6 flex flex-col gap-y-4"><div class="text-lg leading-6 font-medium text-main">{{ $t("database.indexes") }}@@ -242,7 +244,7 @@<divv-if="instanceV1SupportsTrigger(instanceEngineNew)"- class="mt-6 px-6 space-y-4"+ class="mt-6 px-6 flex flex-col gap-y-4"><div class="text-lg leading-6 font-medium text-main">{{ $t("db.triggers") }}@@ -257,7 +259,7 @@<divv-if="instanceV1MaskingForNoSQL(instanceEngineNew)"- class="mt-6 px-6 space-y-4"+ class="mt-6 px-6 flex flex-col gap-y-4"><div><div class="text-lg leading-6 font-medium text-main">@@ -285,7 +287,7 @@/><divv-if="state.tableCatalog !== initTableCatalog"- class="w-full flex items-center justify-end space-x-2 mt-2"+ class="w-full flex items-center justify-end gap-x-2 mt-2"><NButtontype="primary"diff --git a/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vue b/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vueindex ef7cbeb62a..9362e8b838 100644--- a/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vue+++ b/frontend/src/components/TransferDatabaseForm/TransferDatabaseForm.vue@@ -1,7 +1,7 @@<template><DrawerContent :title="$t('quick-action.transfer-in-db-title')"><div class="px-4 w-[calc(100vw-8rem)] lg:w-240 max-w-[calc(100vw-8rem)]">- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><TransferSourceSelectorv-model:transfer-source="state.transferSource"v-model:search-text="state.searchText"diff --git a/frontend/src/components/TransferDatabaseForm/TransferSourceSelector.vue b/frontend/src/components/TransferDatabaseForm/TransferSourceSelector.vueindex d6519165ae..dd4cf874fb 100644--- a/frontend/src/components/TransferDatabaseForm/TransferSourceSelector.vue+++ b/frontend/src/components/TransferDatabaseForm/TransferSourceSelector.vue@@ -6,7 +6,7 @@<div class="radio-set-row"><NRadioGroup:value="transferSource"- class="space-x-4"+ class="gap-x-4"size="large"@update:value="$emit('update:transferSource', $event)">diff --git a/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue b/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vueindex 73f493aee4..2397d39c17 100644--- a/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue+++ b/frontend/src/components/TransferOutDatabaseForm/TransferOutDatabaseForm.vue@@ -9,8 +9,8 @@><BBSpin /></div>- <div v-else class="space-y-4 pb-4">- <div class="space-y-4">+ <div v-else class="gap-y-4 pb-4">+ <div class="gap-y-4"><span class="text-main text-base">{{ $t("database.transfer.select-databases") }}<span class="text-red-500">*</span>@@ -22,7 +22,7 @@/></div><NDivider class="w-full py-2" />- <NRadioGroup v-model:value="transfer" class="space-x-4">+ <NRadioGroup v-model:value="transfer" class="gap-x-4"><NRadio value="project"><span class="text-main text-base">{{ $t("database.transfer.select-target-project") }}diff --git a/frontend/src/components/User/Settings/AADSyncDrawer.vue b/frontend/src/components/User/Settings/AADSyncDrawer.vueindex 43e61dad59..c22e11c596 100644--- a/frontend/src/components/User/Settings/AADSyncDrawer.vue+++ b/frontend/src/components/User/Settings/AADSyncDrawer.vue@@ -30,7 +30,7 @@</template></BBAttention>- <div class="space-y-2">+ <div class="gap-y-2"><div class="gap-x-2"><div class="font-medium">{{ $t(`settings.members.entra-sync.endpoint`) }}@@ -43,7 +43,7 @@/></div></div>- <div class="flex space-x-2">+ <div class="flex gap-x-2"><NInputref="scimUrlFieldRef"class="w-full"@@ -63,7 +63,7 @@</div></div>- <div class="space-y-2">+ <div class="gap-y-2"><div class="gap-x-2"><div class="font-medium">{{ $t(`settings.members.entra-sync.secret-token`) }}@@ -76,7 +76,7 @@/></div></div>- <div class="flex space-x-2">+ <div class="flex gap-x-2"><NInputref="scimTokenFieldRef"class="w-full"diff --git a/frontend/src/components/User/Settings/CreateGroupDrawer.vue b/frontend/src/components/User/Settings/CreateGroupDrawer.vueindex f52bbc7299..4febf83fb8 100644--- a/frontend/src/components/User/Settings/CreateGroupDrawer.vue+++ b/frontend/src/components/User/Settings/CreateGroupDrawer.vue@@ -51,11 +51,11 @@<label class="textlabel block">{{ $t("settings.members.groups.form.members") }}</label>- <div class="flex flex-col space-y-2">+ <div class="flex flex-col gap-y-2"><divv-for="(member, i) in state.group.members":key="member.member"- class="w-full flex items-center space-x-3"+ class="w-full flex items-center gap-x-3"><UserSelect:user="getUserUidForMember(member)"diff --git a/frontend/src/components/User/Settings/CreateUserDrawer.vue b/frontend/src/components/User/Settings/CreateUserDrawer.vueindex 53098dd04a..e27b15f75e 100644--- a/frontend/src/components/User/Settings/CreateUserDrawer.vue+++ b/frontend/src/components/User/Settings/CreateUserDrawer.vue@@ -5,9 +5,9 @@:title="$t('settings.members.add-user')"><template #default>- <div class="space-y-6">- <div class="w-full mb-4 space-y-2">- <div class="flex items-center space-x-1">+ <div class="flex flex-col gap-y-6">+ <div class="w-full mb-4 flex flex-col gap-y-2">+ <div class="flex items-center gap-x-1"><div class="text-sm font-medium">{{ $t("common.type") }}</div><ahref="https://docs.bytebase.com/get-started/terraform?source=console"@@ -25,7 +25,7 @@</NRadioGroup></div>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><label class="block text-sm font-medium leading-5 text-control">{{ $t("common.name") }}</label>@@ -37,7 +37,7 @@/></div>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><label class="block text-sm font-medium leading-5 text-control">{{ $t("common.email") }}<RequiredStar class="ml-0.5" />@@ -58,7 +58,7 @@/></div>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><div><label class="block text-sm font-medium leading-5 text-control">{{ $t("settings.members.table.roles") }}@@ -68,7 +68,7 @@</div><template v-if="state.user.userType === UserType.USER">- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><div><label class="block text-sm font-medium leading-5 text-control">{{ $t("settings.profile.phone") }}diff --git a/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vue b/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vueindex 2d465e1fe8..91a4210ad9 100644--- a/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vue+++ b/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vue@@ -1,10 +1,10 @@<template>- <div class="flex flex-row items-center space-x-2">+ <div class="flex flex-row items-center gap-x-2"><UserAvatar :user="user" /><div class="flex flex-row items-center"><div class="flex flex-col">- <div class="flex flex-row items-center space-x-2">+ <div class="flex flex-row items-center gap-x-2"><spanv-if="onClickUser"class="normal-link truncate max-w-40"diff --git a/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupMemberNameCell.vue b/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupMemberNameCell.vueindex f49f0d145f..ed8fffd320 100644--- a/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupMemberNameCell.vue+++ b/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupMemberNameCell.vue@@ -1,10 +1,10 @@<template>- <div class="flex flex-row items-center shrink space-x-2">+ <div class="flex flex-row items-center shrink gap-x-2"><UserAvatar :user="user" /><div class="flex flex-row items-center"><div class="flex flex-col">- <div class="flex flex-row items-center space-x-2">+ <div class="flex flex-row items-center gap-x-2"><spanv-if="onClickUser"class="normal-link truncate max-w-40"diff --git a/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupNameCell.vue b/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupNameCell.vueindex 95a311d7ac..6042ac8816 100644--- a/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupNameCell.vue+++ b/frontend/src/components/User/Settings/UserDataTableByGroup/cells/GroupNameCell.vue@@ -1,8 +1,8 @@<template>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><UsersIcon v-if="showIcon" class="w-8" /><div>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><div :class="deleted ? 'line-through' : ''"><router-linkv-if="allowGetGroup && link"diff --git a/frontend/src/components/User/Settings/UserPassword.vue b/frontend/src/components/User/Settings/UserPassword.vueindex 8bf3859794..117d9bca62 100644--- a/frontend/src/components/User/Settings/UserPassword.vue+++ b/frontend/src/components/User/Settings/UserPassword.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-6" v-bind="$attrs">+ <div class="flex flex-col gap-y-6" v-bind="$attrs"><div :label="$t('settings.profile.password')"><div><label class="block text-sm font-medium leading-5 text-control">@@ -32,7 +32,7 @@/></span></div>- <div class="w-full space-y-1">+ <div class="w-full flex flex-col gap-y-1"><div class="mt-1 relative flex flex-row items-center"><NInput:value="password"diff --git a/frontend/src/components/v2/Button/ResourceHardDeleteButton.vue b/frontend/src/components/v2/Button/ResourceHardDeleteButton.vueindex 2cf05bc239..a19536e4ef 100644--- a/frontend/src/components/v2/Button/ResourceHardDeleteButton.vue+++ b/frontend/src/components/v2/Button/ResourceHardDeleteButton.vue@@ -13,7 +13,7 @@@confirm="handleDelete"><div class="mt-3">- <div class="text-sm mb-3 space-y-2">+ <div class="text-sm mb-3 flex flex-col gap-y-2"><div>{{$t("common.hard-delete.description", {diff --git a/frontend/src/components/v2/Form/ResourceIdField.vue b/frontend/src/components/v2/Form/ResourceIdField.vueindex ebea9221a0..71348582c2 100644--- a/frontend/src/components/v2/Form/ResourceIdField.vue+++ b/frontend/src/components/v2/Form/ResourceIdField.vue@@ -46,7 +46,7 @@</div><ulv-if="state.validatedMessages.length > 0"- class="w-full my-2 space-y-2 list-disc list-outside pl-4"+ class="w-full my-2 flex flex-col gap-y-2 list-disc list-outside pl-4"><liv-for="validateMessage in state.validatedMessages"diff --git a/frontend/src/components/v2/Form/StepTab.vue b/frontend/src/components/v2/Form/StepTab.vueindex 4ecd53a640..e8f789be65 100644--- a/frontend/src/components/v2/Form/StepTab.vue+++ b/frontend/src/components/v2/Form/StepTab.vue@@ -1,5 +1,5 @@<template>- <div v-bind="$attrs" :class="[!sticky && 'space-y-8']">+ <div v-bind="$attrs" :class="[!sticky && 'flex flex-col gap-y-8']"><div:class="['px-0.5',@@ -33,7 +33,7 @@<divv-if="showFooter"- class="pt-4 border-t border-block-border flex items-center space-x-2 justify-between"+ class="pt-4 border-t border-block-border flex items-center gap-x-2 justify-between":class="[sticky && 'pb-4 bg-white sticky bottom-0 z-10', footerClass]"><div>@@ -42,7 +42,7 @@</NButton></div>- <div class="flex items-center justify-between space-x-2">+ <div class="flex items-center justify-between gap-x-2"><NButtonv-if="currentIndex != 0"v-bind="backButtonProps"diff --git a/frontend/src/components/v2/Model/PagedTable.vue b/frontend/src/components/v2/Model/PagedTable.vueindex a965738511..0b2019c6d7 100644--- a/frontend/src/components/v2/Model/PagedTable.vue+++ b/frontend/src/components/v2/Model/PagedTable.vue@@ -1,9 +1,9 @@<template>- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><slot name="table" :list="dataList" :loading="state.loading" />- <div :class="['flex items-center justify-end space-x-2', footerClass]">- <div class="flex items-center space-x-2">+ <div :class="['flex items-center justify-end gap-x-2', footerClass]">+ <div class="flex items-center gap-x-2"><div class="textinfolabel">{{ $t("common.rows-per-page") }}</div>diff --git a/frontend/src/components/v2/Model/Project/ProjectOperations.vue b/frontend/src/components/v2/Model/Project/ProjectOperations.vueindex d7663f466e..377cb560aa 100644--- a/frontend/src/components/v2/Model/Project/ProjectOperations.vue+++ b/frontend/src/components/v2/Model/Project/ProjectOperations.vue@@ -36,7 +36,7 @@@cancel="state.showArchiveConfirm = false"><!-- Force Archive Option -->- <div class="space-y-3">+ <div class="flex flex-col gap-y-3"><NCheckbox v-model:checked="state.force"><div class="text-sm font-normal text-control-light">{{ $t("project.batch.force-archive-description") }}@@ -48,11 +48,11 @@<div class="text-xs font-medium text-gray-600 mb-2">{{ $t("project.batch.projects-to-archive") }}:</div>- <div class="space-y-1">+ <div class="flex flex-col gap-y-1"><divv-for="project in projectList":key="project.name"- class="text-sm flex items-center space-x-2"+ class="text-sm flex items-center gap-x-2"><CheckIcon class="w-3 h-3 text-green-600" /><span>{{ project.title }}</span>diff --git a/frontend/src/components/v2/Model/cells/DatabaseNameCell.vue b/frontend/src/components/v2/Model/cells/DatabaseNameCell.vueindex c2c9fe2925..4dff2ce0aa 100644--- a/frontend/src/components/v2/Model/cells/DatabaseNameCell.vue+++ b/frontend/src/components/v2/Model/cells/DatabaseNameCell.vue@@ -1,5 +1,5 @@<template>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><DatabaseV1Name:database="database":link="false"diff --git a/frontend/src/components/v2/Model/cells/LabelsCell.vue b/frontend/src/components/v2/Model/cells/LabelsCell.vueindex d0c6470ec3..bae79fd2ac 100644--- a/frontend/src/components/v2/Model/cells/LabelsCell.vue+++ b/frontend/src/components/v2/Model/cells/LabelsCell.vue@@ -3,7 +3,7 @@<template #trigger><divv-if="Object.entries(labels).length > 0"- class="flex items-center space-x-1"+ class="flex items-center gap-x-1"><divv-for="[key, label] in displayLabels"@@ -16,7 +16,7 @@</div><div v-else>{{ placeholder }}</div></template>- <div class="text-sm flex flex-col space-y-1">+ <div class="text-sm flex flex-col gap-y-1"><div v-for="[key, label] in Object.entries(labels)" :key="key">{{ `${key}:${label}` }}</div>diff --git a/frontend/src/components/v2/Model/cells/ProjectNameCell.vue b/frontend/src/components/v2/Model/cells/ProjectNameCell.vueindex a3769ad48f..7c57403c0d 100644--- a/frontend/src/components/v2/Model/cells/ProjectNameCell.vue+++ b/frontend/src/components/v2/Model/cells/ProjectNameCell.vue@@ -1,5 +1,5 @@<template>- <div class="flex flex-row space-x-2 items-center">+ <div class="flex flex-row gap-x-2 items-center"><ProjectV1Nameclass="flex-1 max-w-full":project="project"diff --git a/frontend/src/components/v2/ResourceOccupiedModal/Resource.vue b/frontend/src/components/v2/ResourceOccupiedModal/Resource.vueindex 2297980d8e..0377554438 100644--- a/frontend/src/components/v2/ResourceOccupiedModal/Resource.vue+++ b/frontend/src/components/v2/ResourceOccupiedModal/Resource.vue@@ -1,5 +1,5 @@<template>- <div class="flex items-center space-x-1">+ <div class="flex items-center gap-x-1"><span v-if="showPrefix && resourcePrefix">{{ `${resourcePrefix}: ` }}</span><component :is="resourceComponent" /></div>diff --git a/frontend/src/components/v2/ResourceOccupiedModal/ResourceOccupiedModal.vue b/frontend/src/components/v2/ResourceOccupiedModal/ResourceOccupiedModal.vueindex 6e55b53f5e..7bbbac91f4 100644--- a/frontend/src/components/v2/ResourceOccupiedModal/ResourceOccupiedModal.vue+++ b/frontend/src/components/v2/ResourceOccupiedModal/ResourceOccupiedModal.vue@@ -12,7 +12,7 @@<div v-if="resources.length === 0">{{ $t("resource.delete-warning", { name: target }) }}</div>- <div v-else class="space-y-2">+ <div v-else class="flex flex-col gap-y-2"><p>{{description ||diff --git a/frontend/src/components/v2/ResourceOccupiedModal/useResourceByName.ts b/frontend/src/components/v2/ResourceOccupiedModal/useResourceByName.tsindex 51fc384083..0ed6dc6a6a 100644--- a/frontend/src/components/v2/ResourceOccupiedModal/useResourceByName.ts+++ b/frontend/src/components/v2/ResourceOccupiedModal/useResourceByName.ts@@ -139,7 +139,7 @@ export const useResourceByName = ({return h("a",{- class: "flex items-center space-x-2 normal-link underline",+ class: "flex items-center gap-x-2 normal-link underline",href: `/${user.name}`,},`${user.title} (${user.email})`diff --git a/frontend/src/components/v2/Select/ResourceSelect.vue b/frontend/src/components/v2/Select/ResourceSelect.vueindex 7e69a114a9..7612c32799 100644--- a/frontend/src/components/v2/Select/ResourceSelect.vue+++ b/frontend/src/components/v2/Select/ResourceSelect.vue@@ -105,7 +105,7 @@ const renderLabel = (option: SelectOption, selected: boolean) => {);if (props.multiple) {return (- <div class="flex items-start space-x-2 py-2">+ <div class="flex items-start gap-x-2 py-2"><NCheckbox checked={selected} size="small" class="mt-2" />{node}</div>diff --git a/frontend/src/components/v2/Sidebar/CommonSidebar.vue b/frontend/src/components/v2/Sidebar/CommonSidebar.vueindex 2aaeb4b7fe..e5a121bec9 100644--- a/frontend/src/components/v2/Sidebar/CommonSidebar.vue+++ b/frontend/src/components/v2/Sidebar/CommonSidebar.vue@@ -9,7 +9,7 @@/><slot name="prefix" /><NScrollbar>- <div class="flex-1 px-2.5 space-y-1">+ <div class="flex-1 px-2.5 flex flex-col gap-y-1"><div v-for="(item, i) in filteredSidebarList" :key="i"><router-linkv-if="item.type === 'route'"@@ -49,7 +49,7 @@/><divv-if="item.children.length > 0 && state.expandedSidebar.has(`${i}`)"- class="space-y-1 mt-1"+ class="flex flex-col gap-y-1 mt-1"><template v-for="(child, j) in item.children" :key="`${i}-${j}`"><adiff --git a/frontend/src/views/Archive.vue b/frontend/src/views/Archive.vueindex d35179d7e8..80cc3ee8a8 100644--- a/frontend/src/views/Archive.vue+++ b/frontend/src/views/Archive.vue@@ -1,5 +1,5 @@<template>- <div class="flex flex-col space-y-4">+ <div class="flex flex-col gap-y-4"><div class="flex justify-between items-end"><TabFilter:value="state.selectedTab"diff --git a/frontend/src/views/BannerDemo.vue b/frontend/src/views/BannerDemo.vueindex d773caabae..efe6c09f32 100644--- a/frontend/src/views/BannerDemo.vue+++ b/frontend/src/views/BannerDemo.vue@@ -15,7 +15,7 @@</p></div><div- class="flex flex-row space-x-4 order-3 my-2 shrink-0 w-full sm:order-2 sm:py-1 sm:my-0 sm:w-auto"+ class="flex flex-row gap-x-4 order-3 my-2 shrink-0 w-full sm:order-2 sm:py-1 sm:my-0 sm:w-auto"><ahref="https://docs.bytebase.com/get-started/self-host-vs-cloud/?source=demo"diff --git a/frontend/src/views/BannerSubscription.vue b/frontend/src/views/BannerSubscription.vueindex cf14072647..333c72f22e 100644--- a/frontend/src/views/BannerSubscription.vue+++ b/frontend/src/views/BannerSubscription.vue@@ -1,7 +1,7 @@<template><div class="bg-info"><div class="mx-auto py-1 px-3">- <div class="flex items-center justify-center flex-wrap space-x-2">+ <div class="flex items-center justify-center flex-wrap gap-x-2"><p class="ml-3 text-base font-medium text-white truncate">{{ content }}</p>diff --git a/frontend/src/views/DashboardHeader.vue b/frontend/src/views/DashboardHeader.vueindex b8d79e7448..16dc55f1e2 100644--- a/frontend/src/views/DashboardHeader.vue+++ b/frontend/src/views/DashboardHeader.vue@@ -1,5 +1,5 @@<template>- <div class="flex items-center justify-between h-10 px-4 my-1 space-x-3">+ <div class="flex items-center justify-between h-10 px-4 my-1 gap-x-3"><BytebaseLogov-if="showLogo"class="h-10"diff --git a/frontend/src/views/DashboardLanding.vue b/frontend/src/views/DashboardLanding.vueindex 32b1e8056d..14a048d843 100644--- a/frontend/src/views/DashboardLanding.vue+++ b/frontend/src/views/DashboardLanding.vue@@ -1,7 +1,7 @@<template><div class="px-4 flex flex-col h-full items-center relative"><div class="flex-1" />- <div class="flex-[60%] space-y-6">+ <div class="flex-[60%] flex flex-col gap-y-6"><div class="flex items-baseline gap-x-4"><div class="flex items-start gap-x-1"><div class="font-semibold text-2xl">@@ -43,7 +43,7 @@{{ access.title }}</component></div>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><av-if="actuatorStore.changelogURL"class="underline normal-link"diff --git a/frontend/src/views/DatabaseDashboard.vue b/frontend/src/views/DatabaseDashboard.vueindex eb230f04e7..4297d34db8 100644--- a/frontend/src/views/DatabaseDashboard.vue+++ b/frontend/src/views/DatabaseDashboard.vue@@ -1,5 +1,5 @@<template>- <div class="flex flex-col relative space-y-4">+ <div class="flex flex-col relative gap-y-4"><divclass="w-full px-4 flex flex-col sm:flex-row items-start sm:items-end justify-between gap-2">diff --git a/frontend/src/views/DatabaseDetail/DatabaseDetail.vue b/frontend/src/views/DatabaseDetail/DatabaseDetail.vueindex ddc3812bca..fefd0f923a 100644--- a/frontend/src/views/DatabaseDetail/DatabaseDetail.vue+++ b/frontend/src/views/DatabaseDetail/DatabaseDetail.vue@@ -1,6 +1,6 @@<template><div- class="flex-1 overflow-auto focus:outline-hidden space-y-4"+ class="flex-1 overflow-auto focus:outline-hidden flex flex-col gap-y-4"tabindex="0"v-bind="$attrs">@@ -39,7 +39,7 @@class="w-5 h-5"/></h1>- <div class="flex items-center space-x-1">+ <div class="flex items-center gap-x-1"><span class="textinfolabel">{{ database.name }}</span>@@ -48,7 +48,7 @@</div></div><dl- class="flex flex-col space-y-1 md:flex-row md:flex-wrap"+ class="flex flex-col gap-y-1 md:flex-row md:flex-wrap"data-label="bb-database-detail-info-block"><dt class="sr-only">{{ $t("common.environment") }}</dt>diff --git a/frontend/src/views/EnvironmentDashboard.vue b/frontend/src/views/EnvironmentDashboard.vueindex 42ae1cb286..ef4f103690 100644--- a/frontend/src/views/EnvironmentDashboard.vue+++ b/frontend/src/views/EnvironmentDashboard.vue@@ -326,7 +326,7 @@ const doDelete = async (environment: Environment) => {};const renderTab = (env: Environment, index: number) => {- return h("div", { class: "flex items-center space-x-2 py-1" }, [+ return h("div", { class: "flex items-center gap-x-2 py-1" }, [h("span", { class: "text-opacity-60" }, `${index + 1}.`),h(EnvironmentV1Name, {environment: env,diff --git a/frontend/src/views/InstanceDashboard.vue b/frontend/src/views/InstanceDashboard.vueindex 9142b61d2d..f4a3b0a087 100644--- a/frontend/src/views/InstanceDashboard.vue+++ b/frontend/src/views/InstanceDashboard.vue@@ -1,12 +1,12 @@<template>- <div class="flex flex-col space-y-4">+ <div class="flex flex-col gap-y-4"><BBAttentionv-if="remainingInstanceCount <= 3":type="'warning'":title="$t('subscription.usage.instance-count.title')":description="instanceCountAttention"/>- <div class="px-4 flex items-center space-x-2">+ <div class="px-4 flex items-center gap-x-2"><AdvancedSearchv-model:params="state.params":autofocus="false"diff --git a/frontend/src/views/InstanceDetail.vue b/frontend/src/views/InstanceDetail.vueindex faf593c077..163ab3c8b1 100644--- a/frontend/src/views/InstanceDetail.vue+++ b/frontend/src/views/InstanceDetail.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-2 px-6" v-bind="$attrs">+ <div class="flex flex-col gap-y-2 px-6" v-bind="$attrs"><ArchiveBanner v-if="instance.state === State.DELETED" /><BBAttentionv-if="!instance.environment"@@ -18,7 +18,7 @@<NTabs :value="state.selectedTab" @update:value="onTabChange"><template #suffix>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><InstanceSyncButtonv-if="instance.state === State.ACTIVE"@sync-schema="syncSchema"@@ -42,7 +42,7 @@</InstanceForm></NTabPane><NTabPane name="databases" :tab="$t('common.databases')">- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><divclass="w-full flex flex-col sm:flex-row items-start sm:items-end justify-between gap-2">diff --git a/frontend/src/views/ProfileDashboard.vue b/frontend/src/views/ProfileDashboard.vueindex 3645138063..0b3a564a09 100644--- a/frontend/src/views/ProfileDashboard.vue+++ b/frontend/src/views/ProfileDashboard.vue@@ -12,12 +12,12 @@<div><div class="-m-6 h-32 bg-accent lg:h-48"></div><div class="max-w-5xl mx-auto px-4 sm:px-6 lg:px-8">- <div class="-mt-20 sm:flex sm:items-end sm:space-x-5">+ <div class="-mt-20 sm:flex sm:items-end sm:gap-x-5"><UserAvatar :user="user" size="HUGE" /><div- class="mt-6 sm:flex-1 sm:min-w-0 sm:flex sm:items-center sm:justify-end sm:space-x-6 sm:pb-1"+ class="mt-6 sm:flex-1 sm:min-w-0 sm:flex sm:items-center sm:justify-end sm:gap-x-6 sm:pb-1">- <div class="mt-6 flex flex-row justify-stretch space-x-2">+ <div class="mt-6 flex flex-row justify-stretch gap-x-2"><template v-if="allowEdit"><template v-if="state.editing"><NButton @click.prevent="cancelEdit">@@ -154,7 +154,7 @@{{ $t("two-factor.self") }}<FeatureBadge :feature="PlanFeature.FEATURE_TWO_FA" class="ml-2" /></span>- <div class="space-x-2">+ <div class="flex gap-x-2"><NButton v-if="user.email === currentUser.email" @click="enable2FA">{{ isMFAEnabled ? $t("common.edit") : $t("common.enable") }}</NButton>diff --git a/frontend/src/views/ProjectDashboard.vue b/frontend/src/views/ProjectDashboard.vueindex fa190581b7..5eebb740d4 100644--- a/frontend/src/views/ProjectDashboard.vue+++ b/frontend/src/views/ProjectDashboard.vue@@ -1,6 +1,6 @@<template>- <div class="flex flex-col space-y-4">- <div class="flex items-center justify-between px-4 space-x-2">+ <div class="flex flex-col gap-y-4">+ <div class="flex items-center justify-between px-4 gap-x-2"><AdvancedSearchv-model:params="state.params":scope-options="scopeOptions"diff --git a/frontend/src/views/SchemaTemplate/ColumnTypes.vue b/frontend/src/views/SchemaTemplate/ColumnTypes.vueindex 34de65e6db..085b268f61 100644--- a/frontend/src/views/SchemaTemplate/ColumnTypes.vue+++ b/frontend/src/views/SchemaTemplate/ColumnTypes.vue@@ -1,6 +1,6 @@<template>- <div class="w-full space-y-4 text-sm">- <div class="space-y-4">+ <div class="w-full flex flex-col gap-y-4 text-sm">+ <div class="flex flex-col gap-y-4"><div class="flex items-center justify-between gap-x-6"><div class="flex-1 textinfolabel">{{ $t("schema-template.column-type-restriction.description") }}diff --git a/frontend/src/views/SchemaTemplate/FieldTemplates.vue b/frontend/src/views/SchemaTemplate/FieldTemplates.vueindex 1d7358865b..11ab8048a9 100644--- a/frontend/src/views/SchemaTemplate/FieldTemplates.vue+++ b/frontend/src/views/SchemaTemplate/FieldTemplates.vue@@ -1,6 +1,6 @@<template>- <div class="w-full space-y-4 text-sm">- <div v-if="!readonly" class="space-y-4">+ <div class="w-full flex flex-col gap-y-4 text-sm">+ <div v-if="!readonly" class="flex flex-col gap-y-4"><div class="flex items-center justify-between gap-x-6"><div class="flex-1 textinfolabel">{{ $t("schema-template.field-template.description") }}@@ -27,7 +27,7 @@</NCheckbox></template></div>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><div class="hidden md:block"><SearchBoxv-model:value="state.searchText"diff --git a/frontend/src/views/SchemaTemplate/TableTemplates.vue b/frontend/src/views/SchemaTemplate/TableTemplates.vueindex 7abd08670f..f472d88cc0 100644--- a/frontend/src/views/SchemaTemplate/TableTemplates.vue+++ b/frontend/src/views/SchemaTemplate/TableTemplates.vue@@ -1,6 +1,6 @@<template>- <div class="w-full space-y-4 text-sm">- <div v-if="!readonly" class="space-y-4">+ <div class="w-full flex flex-col gap-y-4 text-sm">+ <div v-if="!readonly" class="flex flex-col gap-y-4"><div class="flex items-center justify-between gap-x-6"><div class="flex-1 textinfolabel">{{ $t("schema-template.table-template.description") }}@@ -27,7 +27,7 @@</NCheckbox></template></div>- <div class="flex items-center space-x-2">+ <div class="flex items-center gap-x-2"><div class="hidden md:block"><SearchBoxv-model:value="state.searchText"diff --git a/frontend/src/views/SettingWorkspaceAuditLog.vue b/frontend/src/views/SettingWorkspaceAuditLog.vueindex f85aa093dc..18dd171807 100644--- a/frontend/src/views/SettingWorkspaceAuditLog.vue+++ b/frontend/src/views/SettingWorkspaceAuditLog.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4 pb-6">+ <div class="w-full flex flex-col gap-y-4 pb-6"><FeatureAttention :feature="PlanFeature.FEATURE_AUDIT_LOG" /><AuditLogSearch v-model:params="state.params"><template #searchbox-suffix>diff --git a/frontend/src/views/SettingWorkspaceCustomApproval.vue b/frontend/src/views/SettingWorkspaceCustomApproval.vueindex 635e78d0ac..119b62c30f 100644--- a/frontend/src/views/SettingWorkspaceCustomApproval.vue+++ b/frontend/src/views/SettingWorkspaceCustomApproval.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4 text-sm">+ <div class="w-full flex flex-col gap-y-4 text-sm"><FeatureAttention :feature="PlanFeature.FEATURE_APPROVAL_WORKFLOW" /><CustomApproval v-if="state.ready" />diff --git a/frontend/src/views/SettingWorkspaceDataClassification.vue b/frontend/src/views/SettingWorkspaceDataClassification.vueindex 5c364ca50d..015bcd7f22 100644--- a/frontend/src/views/SettingWorkspaceDataClassification.vue+++ b/frontend/src/views/SettingWorkspaceDataClassification.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><FeatureAttentionv-if="!hasSensitiveDataFeature":feature="PlanFeature.FEATURE_DATA_CLASSIFICATION"diff --git a/frontend/src/views/SettingWorkspaceDataMasking.vue b/frontend/src/views/SettingWorkspaceDataMasking.vueindex 9480fc4ae1..b3a8c7bfd4 100644--- a/frontend/src/views/SettingWorkspaceDataMasking.vue+++ b/frontend/src/views/SettingWorkspaceDataMasking.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><FeatureAttentionv-if="!hasSensitiveDataFeature":feature="PlanFeature.FEATURE_DATA_MASKING"diff --git a/frontend/src/views/SettingWorkspaceGeneral.vue b/frontend/src/views/SettingWorkspaceGeneral.vueindex 169e57da6c..9ba818f380 100644--- a/frontend/src/views/SettingWorkspaceGeneral.vue+++ b/frontend/src/views/SettingWorkspaceGeneral.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-0 divide-y divide-block-border pt-2">+ <div class="flex flex-col gap-y-0 divide-y divide-block-border pt-2"><GeneralSettingref="generalSettingRef":title="$t('common.general')"diff --git a/frontend/src/views/SettingWorkspaceIM.vue b/frontend/src/views/SettingWorkspaceIM.vueindex 70a771b261..7f0ed4c6b8 100644--- a/frontend/src/views/SettingWorkspaceIM.vue+++ b/frontend/src/views/SettingWorkspaceIM.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4 pb-4">+ <div class="w-full flex flex-col gap-y-4 pb-4"><div class="textinfolabel">{{ $t("settings.im-integration.description") }}<LearnMoreLink@@ -21,7 +21,7 @@</NButton></template></NEmpty>- <div v-else class="space-y-4">+ <div v-else class="flex flex-col gap-y-4"><divv-for="(item, i) in state.setting.settings":key="item.type"@@ -47,7 +47,10 @@v-model:value="(item.payload.value as AppIMSetting_Slack).token"/></div>- <div v-else-if="item.type === Webhook_Type.FEISHU" class="space-y-4">+ <div+ v-else-if="item.type === Webhook_Type.FEISHU"+ class="flex flex-col gap-y-4"+ ><div><div class="textlabel">App ID</div><BBTextField@@ -67,7 +70,10 @@/></div></div>- <div v-else-if="item.type === Webhook_Type.WECOM" class="space-y-4">+ <div+ v-else-if="item.type === Webhook_Type.WECOM"+ class="flex flex-col gap-y-4"+ ><div><div class="textlabel">Corp ID</div><BBTextField@@ -96,7 +102,10 @@/></div></div>- <div v-else-if="item.type === Webhook_Type.LARK" class="space-y-4">+ <div+ v-else-if="item.type === Webhook_Type.LARK"+ class="flex flex-col gap-y-4"+ ><div><div class="textlabel">App ID</div><BBTextField@@ -118,7 +127,7 @@</div><divv-else-if="item.type === Webhook_Type.DINGTALK"- class="space-y-4"+ class="flex flex-col gap-y-4"><div><div class="textlabel">Client ID</div>diff --git a/frontend/src/views/SettingWorkspaceMembers.vue b/frontend/src/views/SettingWorkspaceMembers.vueindex 9957b0b66c..e5a29a241c 100644--- a/frontend/src/views/SettingWorkspaceMembers.vue+++ b/frontend/src/views/SettingWorkspaceMembers.vue@@ -1,5 +1,5 @@<template>- <div class="w-full mx-auto space-y-4 pb-4">+ <div class="w-full mx-auto flex flex-col gap-y-4 pb-4"><NoPermissionPlaceholderv-if="permissionStore.onlyWorkspaceMember"class="py-6"diff --git a/frontend/src/views/SettingWorkspaceRiskCenter.vue b/frontend/src/views/SettingWorkspaceRiskCenter.vueindex aa8364eb53..a090d2fbc6 100644--- a/frontend/src/views/SettingWorkspaceRiskCenter.vue+++ b/frontend/src/views/SettingWorkspaceRiskCenter.vue@@ -4,7 +4,7 @@class="mb-4"/>- <div class="w-full space-y-4 text-sm">+ <div class="w-full flex flex-col gap-y-4 text-sm"><div class="textinfolabel">{{ $t("custom-approval.risk.description") }}<LearnMoreLinkdiff --git a/frontend/src/views/SettingWorkspaceRole.vue b/frontend/src/views/SettingWorkspaceRole.vueindex 150295fe95..7bb6ab9cb0 100644--- a/frontend/src/views/SettingWorkspaceRole.vue+++ b/frontend/src/views/SettingWorkspaceRole.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4 text-sm">+ <div class="w-full flex flex-col gap-y-4 text-sm"><RoleSetting /></div></template>diff --git a/frontend/src/views/SettingWorkspaceSQLReview.vue b/frontend/src/views/SettingWorkspaceSQLReview.vueindex d223810840..15e563ea72 100644--- a/frontend/src/views/SettingWorkspaceSQLReview.vue+++ b/frontend/src/views/SettingWorkspaceSQLReview.vue@@ -1,5 +1,5 @@<template>- <div class="mx-auto space-y-4">+ <div class="mx-auto flex flex-col gap-y-4"><div class="textinfolabel">{{ $t("sql-review.description") }}<LearnMoreLinkdiff --git a/frontend/src/views/SettingWorkspaceSQLReviewCreate.vue b/frontend/src/views/SettingWorkspaceSQLReviewCreate.vueindex ea46a63e67..5c7d1f8000 100644--- a/frontend/src/views/SettingWorkspaceSQLReviewCreate.vue+++ b/frontend/src/views/SettingWorkspaceSQLReviewCreate.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-4 h-full flex flex-col">+ <div class="gap-y-4 h-full flex flex-col"><SQLReviewCreationclass="flex-1":selected-rule-list="[]"diff --git a/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue b/frontend/src/views/SettingWorkspaceSQLReviewDetail.vueindex dec3a2d07a..92b7c5ba96 100644--- a/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue+++ b/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue@@ -48,7 +48,7 @@</NButton></div></div>- <div class="mt-4 space-y-4">+ <div class="mt-4 flex flex-col gap-y-4"><BBAttentionv-if="reviewPolicy.resources.length === 0"type="warning"@@ -57,7 +57,7 @@:action-text="$t('sql-review.attach-resource.self')"@click="state.showResourcePanel = true"/>- <div class="space-y-2 space-x-2">+ <div class="flex flex-col gap-y-2 gap-x-2"><BBBadgev-for="resource in reviewPolicy.resources":key="resource"diff --git a/frontend/src/views/SettingWorkspaceSSO.vue b/frontend/src/views/SettingWorkspaceSSO.vueindex f7d0764728..a34b9077af 100644--- a/frontend/src/views/SettingWorkspaceSSO.vue+++ b/frontend/src/views/SettingWorkspaceSSO.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><div class="textinfolabel">{{ $t("settings.sso.description") }}<LearnMoreLinkdiff --git a/frontend/src/views/SettingWorkspaceSSODetail.vue b/frontend/src/views/SettingWorkspaceSSODetail.vueindex bf4a1ee2ae..fc3152e1e3 100644--- a/frontend/src/views/SettingWorkspaceSSODetail.vue+++ b/frontend/src/views/SettingWorkspaceSSODetail.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-6">+ <div class="w-full flex flex-col gap-y-6"><div class="w-full flex flex-row justify-between items-center"><div class="textinfolabel mr-4">{{ $t("settings.sso.description") }}diff --git a/frontend/src/views/SettingWorkspaceSchemaTemplate.vue b/frontend/src/views/SettingWorkspaceSchemaTemplate.vueindex 1c56cc6451..ef917352b8 100644--- a/frontend/src/views/SettingWorkspaceSchemaTemplate.vue+++ b/frontend/src/views/SettingWorkspaceSchemaTemplate.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><FeatureAttention :feature="PlanFeature.FEATURE_SCHEMA_TEMPLATE" /><NTabs v-model:value="state.selectedTab" type="line"><NTabPanediff --git a/frontend/src/views/SettingWorkspaceSemanticTypes.vue b/frontend/src/views/SettingWorkspaceSemanticTypes.vueindex 26a58b84b9..cc4d263f88 100644--- a/frontend/src/views/SettingWorkspaceSemanticTypes.vue+++ b/frontend/src/views/SettingWorkspaceSemanticTypes.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><FeatureAttention :feature="PlanFeature.FEATURE_DATA_MASKING" /><SemanticTypesView /></div>diff --git a/frontend/src/views/SettingWorkspaceSubscription.vue b/frontend/src/views/SettingWorkspaceSubscription.vueindex b576ba874e..16d707e32d 100644--- a/frontend/src/views/SettingWorkspaceSubscription.vue+++ b/frontend/src/views/SettingWorkspaceSubscription.vue@@ -84,7 +84,7 @@<div class="mb-3 text-sm text-gray-400">{{ $t("settings.general.workspace.id-description") }}</div>- <div class="mb-4 flex items-center space-x-2">+ <div class="mb-4 flex items-center gap-x-2"><NInputref="workspaceIdField"class="w-full"diff --git a/frontend/src/views/SettingWorkspaceUsers.vue b/frontend/src/views/SettingWorkspaceUsers.vueindex 31a9701480..b5902f39b9 100644--- a/frontend/src/views/SettingWorkspaceUsers.vue+++ b/frontend/src/views/SettingWorkspaceUsers.vue@@ -1,5 +1,5 @@<template>- <div class="w-full overflow-x-hidden space-y-4 pb-4">+ <div class="w-full overflow-x-hidden flex flex-col gap-y-4 pb-4"><BBAttentionv-if="remainingUserCount <= 3":type="'warning'"@@ -9,7 +9,7 @@<NTabs v-model:value="state.typeTab" type="line" animated><NTabPane name="USERS"><template #tab>- <div class="flex-1 flex space-x-2">+ <div class="flex-1 flex gap-x-2"><p class="text-base font-medium leading-7 text-main"><span>{{ $t("common.users") }}</span><span class="ml-1 font-normal text-control-light">diff --git a/frontend/src/views/Setup/AdminSetup.vue b/frontend/src/views/Setup/AdminSetup.vueindex 7ed6d53b39..9967701f26 100644--- a/frontend/src/views/Setup/AdminSetup.vue+++ b/frontend/src/views/Setup/AdminSetup.vue@@ -12,7 +12,7 @@><template #0><div class="w-full flex flex-col gap-6 py-4">- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><p>{{ $t("setup.purposes.self") }}</p><NRadioGroup v-model:value="state.purpose"><NSpace vertical>@@ -25,7 +25,7 @@</NSpace></NRadioGroup></div>- <div class="space-y-2">+ <div class="flex flex-col gap-y-2"><p>{{ $t("setup.workflow.self") }}</p><NRadioGroup v-model:value="state.workflow"><NSpace vertical>diff --git a/frontend/src/views/TwoFactorSetup.vue b/frontend/src/views/TwoFactorSetup.vueindex 7e9d031123..9c91fb0e62 100644--- a/frontend/src/views/TwoFactorSetup.vue+++ b/frontend/src/views/TwoFactorSetup.vue@@ -17,7 +17,7 @@><template #0><div- class="w-full max-w-2xl mx-auto flex flex-col justify-start items-start space-y-4 my-8"+ class="w-full max-w-2xl mx-auto flex flex-col justify-start items-start gap-y-4 my-8"><p>{{ $t("two-factor.setup-steps.setup-auth-app.description") }}diff --git a/frontend/src/views/auth/AuthFooter.vue b/frontend/src/views/auth/AuthFooter.vueindex 609e72f097..3f5356c55e 100644--- a/frontend/src/views/auth/AuthFooter.vue+++ b/frontend/src/views/auth/AuthFooter.vue@@ -1,6 +1,6 @@<template><div class="absolute left-0 bottom-0 mb-8 text-center w-full">- <p class="block text-sm text-gray-400 space-x-2">+ <p class="block text-sm text-gray-400 flex justify-center gap-x-2"><av-for="item in languageList":key="item.label"diff --git a/frontend/src/views/auth/InactiveRemindModal.vue b/frontend/src/views/auth/InactiveRemindModal.vueindex 2bbdac317b..c0d100956b 100644--- a/frontend/src/views/auth/InactiveRemindModal.vue+++ b/frontend/src/views/auth/InactiveRemindModal.vue@@ -7,7 +7,7 @@:header-class="'hidden!'"><div class="flex items-center w-auto md:min-w-96 max-w-full h-auto md:py-4">- <div class="flex flex-col justify-center items-start flex-1 space-y-4">+ <div class="flex flex-col justify-center items-start flex-1 gap-y-4"><div><p class="font-medium text-lg">{{ $t("auth.inactive-modal.title") }}diff --git a/frontend/src/views/auth/PasswordReset.vue b/frontend/src/views/auth/PasswordReset.vueindex 97fce5f313..b1d541e57b 100644--- a/frontend/src/views/auth/PasswordReset.vue+++ b/frontend/src/views/auth/PasswordReset.vue@@ -11,7 +11,7 @@</div><div class="mt-8">- <div class="mt-6 space-y-6">+ <div class="mt-6 flex flex-col gap-y-6"><UserPasswordref="userPasswordRef"v-model:password="state.password"diff --git a/frontend/src/views/auth/Signin.vue b/frontend/src/views/auth/Signin.vueindex 73ce73491b..82af40f007 100644--- a/frontend/src/views/auth/Signin.vue+++ b/frontend/src/views/auth/Signin.vue@@ -58,7 +58,7 @@:tab="identityProvider.title"><form- class="space-y-6"+ class="flex flex-col gap-y-6"@submit.prevent="trySignin(identityProvider.name)"><div>diff --git a/frontend/src/views/auth/SigninModal.vue b/frontend/src/views/auth/SigninModal.vueindex f5e8f12e89..de0c4a57bb 100644--- a/frontend/src/views/auth/SigninModal.vue+++ b/frontend/src/views/auth/SigninModal.vue@@ -7,7 +7,7 @@:header-class="'hidden!'"><div class="flex items-center w-auto md:min-w-96 max-w-full h-auto md:py-4">- <div class="flex flex-col justify-center items-center flex-1 space-y-2">+ <div class="flex flex-col justify-center items-center flex-1 gap-y-2"><Signin :allow-signup="false"><template #footer><NButton quaternary size="small" @click="logout">diff --git a/frontend/src/views/auth/Signup.vue b/frontend/src/views/auth/Signup.vueindex b438fb88e4..6552afb327 100644--- a/frontend/src/views/auth/Signup.vue+++ b/frontend/src/views/auth/Signup.vue@@ -23,7 +23,7 @@<div class="mt-8"><div class="mt-6">- <form class="space-y-6" @submit.prevent="trySignup">+ <form class="flex flex-col gap-y-6" @submit.prevent="trySignup"><div><labelfor="email"diff --git a/frontend/src/views/project/ProjectAuditLogDashboard.vue b/frontend/src/views/project/ProjectAuditLogDashboard.vueindex b4637d6532..04da24d0ce 100644--- a/frontend/src/views/project/ProjectAuditLogDashboard.vue+++ b/frontend/src/views/project/ProjectAuditLogDashboard.vue@@ -1,5 +1,5 @@<template>- <div class="w-full space-y-4">+ <div class="w-full flex flex-col gap-y-4"><FeatureAttention :feature="PlanFeature.FEATURE_AUDIT_LOG" /><AuditLogSearch v-model:params="state.params"><template #searchbox-suffix>diff --git a/frontend/src/views/project/ProjectDatabaseGroupDetail.vue b/frontend/src/views/project/ProjectDatabaseGroupDetail.vueindex f6a08409b6..21371b9658 100644--- a/frontend/src/views/project/ProjectDatabaseGroupDetail.vue+++ b/frontend/src/views/project/ProjectDatabaseGroupDetail.vue@@ -2,7 +2,7 @@<divv-if="databaseGroup"v-bind="$attrs"- class="h-full flex-1 relative space-y-4"+ class="h-full flex-1 relative flex flex-col gap-y-4"><FeatureAttention:feature="PlanFeature.FEATURE_DATABASE_GROUPS"diff --git a/frontend/src/views/project/ProjectMaskingExemption.vue b/frontend/src/views/project/ProjectMaskingExemption.vueindex bf47fda3a8..c6660840ce 100644--- a/frontend/src/views/project/ProjectMaskingExemption.vue+++ b/frontend/src/views/project/ProjectMaskingExemption.vue@@ -1,5 +1,5 @@<template>- <div class="space-y-4">+ <div class="flex flex-col gap-y-4"><divclass="flex flex-col lg:flex-row gap-y-4 justify-between items-end lg:items-center gap-x-2">diff --git a/frontend/src/views/sql-editor/AsidePanel/HistoryPane/HistoryPane.vue b/frontend/src/views/sql-editor/AsidePanel/HistoryPane/HistoryPane.vueindex e09d0bc1cc..8e950a5883 100644--- a/frontend/src/views/sql-editor/AsidePanel/HistoryPane/HistoryPane.vue+++ b/frontend/src/views/sql-editor/AsidePanel/HistoryPane/HistoryPane.vue@@ -14,7 +14,7 @@<divv-for="history in queryHistoryData.queryHistories":key="history.name"- class="w-full p-2 space-y-1 border-b flex flex-col justify-start items-start cursor-pointer hover:bg-gray-50"+ class="w-full p-2 gap-y-1 border-b flex flex-col justify-start items-start cursor-pointer hover:bg-gray-50"@click="handleQueryHistoryClick(history)"><div class="w-full flex flex-row justify-between items-center">diff --git a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vue b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vueindex ba11855c36..59b6e15457 100644--- a/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vue+++ b/frontend/src/views/sql-editor/ConnectionPanel/ConnectionPane/ConnectionPane.vue@@ -103,7 +103,7 @@(state.showEmptyEnvironment &&environment !== UNKNOWN_ENVIRONMENT_NAME)"- class="flex flex-col space-y-2 pt-2 pb-2"+ class="flex flex-col gap-y-2 pt-2 pb-2"><NTree:block-line="true"diff --git a/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vue b/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vueindex 5f79d40570..39089e8190 100644--- a/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vue+++ b/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vue@@ -1,7 +1,7 @@<template><div class="execute-hint w-112"><NAlert type="info">- <section class="space-y-2">+ <section class="flex flex-col gap-y-2"><p>{{ $t("sql-editor.only-select-allowed") }}</p>diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/common/MaskingReasonPopover.vue b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/common/MaskingReasonPopover.vueindex 8e13b101d9..b2c6cfb278 100644--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/common/MaskingReasonPopover.vue+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/DataTable/common/MaskingReasonPopover.vue@@ -15,7 +15,7 @@/></div></template>- <div class="space-y-2 max-w-sm">+ <div class="flex flex-col gap-y-2 max-w-sm"><div class="font-medium flex items-center gap-2"><imgv-if="props.reason.semanticTypeIcon"diff --git a/frontend/src/views/sql-editor/EditorCommon/SharePopover.vue b/frontend/src/views/sql-editor/EditorCommon/SharePopover.vueindex 2f405ba5c8..822110a164 100644--- a/frontend/src/views/sql-editor/EditorCommon/SharePopover.vue+++ b/frontend/src/views/sql-editor/EditorCommon/SharePopover.vue@@ -1,5 +1,5 @@<template>- <div class="share-popover w-96 p-2 space-y-4">+ <div class="share-popover w-96 p-2 flex flex-col gap-y-4"><section class="w-full flex flex-row justify-between items-center"><div class="pr-4"><h2 class="text-lg font-semibold">{{ $t("common.share") }}</h2>@@ -29,7 +29,7 @@</div></div></template>- <div class="access-content space-y-2 w-80">+ <div class="access-content flex flex-col gap-y-2 w-80"><divv-for="option in accessOptions":key="option.label"diff --git a/frontend/src/views/sql-editor/EditorPanel/ResultPanel/BatchQuerySelect.vue b/frontend/src/views/sql-editor/EditorPanel/ResultPanel/BatchQuerySelect.vueindex da483f2c8e..34a2cb5a2f 100644--- a/frontend/src/views/sql-editor/EditorPanel/ResultPanel/BatchQuerySelect.vue+++ b/frontend/src/views/sql-editor/EditorPanel/ResultPanel/BatchQuerySelect.vue@@ -39,7 +39,7 @@@export="handleExportBtnClick"><template #form>- <div class="w-full mb-6 space-y-2">+ <div class="w-full mb-6 flex flex-col gap-y-2"><div><p class="textlabel">{{ $t("database.select") }}