Skip to content

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

feat: consodliate layout style (#7530)

Tianzhou (天舟)127d1b08e74e
diff --git a/frontend/src/bbkit/BBAlert.vue b/frontend/src/bbkit/BBAlert.vue
index 330ad3c96f..4f2a9861ef 100644
--- a/frontend/src/bbkit/BBAlert.vue
+++ b/frontend/src/bbkit/BBAlert.vue
@@ -90,7 +90,7 @@
<slot name="default" />
</div>
</div>
- <div class="mt-5 flex flex-col space-y-4">
+ <div class="mt-4 flex flex-col space-y-4">
<div class="flex justify-end">
<button
type="button"
diff --git a/frontend/src/bbkit/BBAlertDialog.vue b/frontend/src/bbkit/BBAlertDialog.vue
index fded9a9295..aac8038f9d 100644
--- a/frontend/src/bbkit/BBAlertDialog.vue
+++ b/frontend/src/bbkit/BBAlertDialog.vue
@@ -91,7 +91,7 @@
</div>
</div>
</div>
- <div class="mt-5 flex flex-col space-y-4">
+ <div class="mt-4 flex flex-col space-y-4">
<div class="flex justify-end">
<button
type="button"
diff --git a/frontend/src/components/DatabaseBackup/DatabaseBackupSettingForm.vue b/frontend/src/components/DatabaseBackup/DatabaseBackupSettingForm.vue
index 80bf2500a6..88a74a26da 100644
--- a/frontend/src/components/DatabaseBackup/DatabaseBackupSettingForm.vue
+++ b/frontend/src/components/DatabaseBackup/DatabaseBackupSettingForm.vue
@@ -131,7 +131,7 @@
</div>
<div
- class="w-full mt-5 pt-4 flex justify-end border-t border-block-border"
+ class="w-full mt-4 pt-4 flex justify-end border-t border-block-border"
>
<button
type="button"
diff --git a/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue b/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue
index eee7703c9e..713325d807 100644
--- a/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue
+++ b/frontend/src/components/DatabaseGroup/DatabaseGroupForm.vue
@@ -2,7 +2,7 @@
<div class="w-full">
<FeatureAttentionForInstanceLicense
v-if="existMatchedUnactivateInstance"
- custom-class="mb-5"
+ custom-class="mb-4"
:style="`WARN`"
feature="bb.feature.database-grouping"
/>
diff --git a/frontend/src/components/FeatureGuard/FeatureModal.vue b/frontend/src/components/FeatureGuard/FeatureModal.vue
index 0879d469fc..1d647990de 100644
--- a/frontend/src/components/FeatureGuard/FeatureModal.vue
+++ b/frontend/src/components/FeatureGuard/FeatureModal.vue
@@ -16,7 +16,7 @@
{{ $t(`subscription.features.${featureKey}.title`) }}
</h3>
</div>
- <div class="mt-5">
+ <div class="mt-4">
<p class="whitespace-pre-wrap">
{{ $t(`subscription.features.${featureKey}.desc`) }}
</p>
diff --git a/frontend/src/components/GeneralSetting/AIAugmentationSetting.vue b/frontend/src/components/GeneralSetting/AIAugmentationSetting.vue
index 6bf3142b8a..6e33e824e4 100644
--- a/frontend/src/components/GeneralSetting/AIAugmentationSetting.vue
+++ b/frontend/src/components/GeneralSetting/AIAugmentationSetting.vue
@@ -8,8 +8,8 @@
{{ $t("settings.general.workspace.only-owner-can-edit") }}
</span>
</div>
- <div class="flex-1 lg:px-5">
- <div class="mb-7 mt-5 lg:mt-0">
+ <div class="flex-1 lg:px-4">
+ <div class="mb-7 mt-4 lg:mt-0">
<label
class="flex items-center gap-x-2 tooltip-wrapper"
:class="[allowEdit ? 'cursor-pointer' : 'cursor-not-allowed']"
@@ -46,7 +46,7 @@
</i18n-t>
</div>
<BBTextField
- class="mb-5 w-full"
+ class="mb-4 w-full"
:disabled="!allowEdit"
:value="state.openAIKey"
:placeholder="
@@ -81,7 +81,7 @@
}}
</div>
<BBTextField
- class="mb-5 w-full"
+ class="mb-4 w-full"
:disabled="!allowEdit"
:value="state.openAIEndpoint"
@input="handleOpenAIEndpointChange"
diff --git a/frontend/src/components/GeneralSetting/BrandingSetting.vue b/frontend/src/components/GeneralSetting/BrandingSetting.vue
index c871b985cf..dab7f74722 100644
--- a/frontend/src/components/GeneralSetting/BrandingSetting.vue
+++ b/frontend/src/components/GeneralSetting/BrandingSetting.vue
@@ -8,8 +8,8 @@
{{ $t("settings.general.workspace.only-owner-can-edit") }}
</span>
</div>
- <div class="flex-1 lg:px-5">
- <div class="mb-5 mt-5 lg:mt-0">
+ <div class="flex-1 lg:px-4">
+ <div class="mb-4 mt-4 lg:mt-0">
<p>
{{ $t("settings.general.workspace.logo") }}
</p>
@@ -20,7 +20,7 @@
class="flex justify-center border-2 border-gray-300 border-dashed rounded-md relative h-48"
>
<div
- class="w-full bg-no-repeat bg-contain bg-center rounded-md pointer-events-none m-5"
+ class="w-full bg-no-repeat bg-contain bg-center rounded-md pointer-events-none m-4"
:style="`background-image: url(${state.logoUrl});`"
></div>
<SingleFileSelector
diff --git a/frontend/src/components/GeneralSetting/NetworkSetting.vue b/frontend/src/components/GeneralSetting/NetworkSetting.vue
index 9318a9de77..9b3566f1f0 100644
--- a/frontend/src/components/GeneralSetting/NetworkSetting.vue
+++ b/frontend/src/components/GeneralSetting/NetworkSetting.vue
@@ -8,8 +8,8 @@
{{ $t("settings.general.workspace.only-owner-can-edit") }}
</span>
</div>
- <div class="flex-1 lg:px-5">
- <div class="mb-7 mt-5 lg:mt-0">
+ <div class="flex-1 lg:px-4">
+ <div class="mb-7 mt-4 lg:mt-0">
<label
class="flex items-center gap-x-2 tooltip-wrapper"
:class="[allowEdit ? 'cursor-pointer' : 'cursor-not-allowed']"
@@ -38,7 +38,7 @@
</i18n-t>
</div>
<BBTextField
- class="mb-5 w-full"
+ class="mb-4 w-full"
:disabled="!allowEdit"
:value="state.externalUrl"
@input="handleExternalUrlChange"
@@ -66,7 +66,7 @@
</i18n-t>
</div>
<BBTextField
- class="mb-5 w-full"
+ class="mb-4 w-full"
:disabled="!allowEdit"
:value="state.gitopsWebhookUrl"
@input="handleGitOpsWebhookUrlChange"
diff --git a/frontend/src/components/GeneralSetting/SecuritySetting.vue b/frontend/src/components/GeneralSetting/SecuritySetting.vue
index f94ec61fc5..69853309b7 100644
--- a/frontend/src/components/GeneralSetting/SecuritySetting.vue
+++ b/frontend/src/components/GeneralSetting/SecuritySetting.vue
@@ -8,8 +8,8 @@
{{ $t("settings.general.workspace.only-owner-can-edit") }}
</span>
</div>
- <div class="flex-1 lg:px-5">
- <div class="mb-7 mt-5 lg:mt-0">
+ <div class="flex-1 lg:px-4">
+ <div class="mb-7 mt-4 lg:mt-0">
<label
class="flex items-center gap-x-2 tooltip-wrapper"
:class="[allowEdit ? 'cursor-pointer' : 'cursor-not-allowed']"
@@ -36,7 +36,7 @@
{{ $t("settings.general.workspace.watermark.description") }}
</div>
</div>
- <div v-if="!isSaaSMode" class="mb-7 mt-5 lg:mt-0">
+ <div v-if="!isSaaSMode" class="mb-7 mt-4 lg:mt-0">
<label
class="flex items-center gap-x-2 tooltip-wrapper"
:class="[allowEdit ? 'cursor-pointer' : 'cursor-not-allowed']"
@@ -63,7 +63,7 @@
{{ $t("settings.general.workspace.disallow-signup.description") }}
</div>
</div>
- <div class="mb-7 mt-5 lg:mt-0">
+ <div class="mb-7 mt-4 lg:mt-0">
<label
class="flex items-center gap-x-2 tooltip-wrapper"
:class="[allowEdit ? 'cursor-pointer' : 'cursor-not-allowed']"
diff --git a/frontend/src/components/GeneralSetting/SignInFrequencySetting.vue b/frontend/src/components/GeneralSetting/SignInFrequencySetting.vue
index 677ee91c33..9ad464afb0 100644
--- a/frontend/src/components/GeneralSetting/SignInFrequencySetting.vue
+++ b/frontend/src/components/GeneralSetting/SignInFrequencySetting.vue
@@ -1,5 +1,5 @@
<template>
- <div class="mb-7 mt-5 lg:mt-0" @click="handleValueFieldClick">
+ <div class="mb-7 mt-4 lg:mt-0" @click="handleValueFieldClick">
<p class="font-medium flex flex-row justify-start items-center">
<span class="mr-2">{{
$t("settings.general.workspace.sign-in-frequency.self")
diff --git a/frontend/src/components/InstanceForm/InstanceForm.vue b/frontend/src/components/InstanceForm/InstanceForm.vue
index fc5539c3fd..2a6f6a91b5 100644
--- a/frontend/src/components/InstanceForm/InstanceForm.vue
+++ b/frontend/src/components/InstanceForm/InstanceForm.vue
@@ -266,7 +266,7 @@
<BBAttention
v-if="outboundIpList && actuatorStore.isSaaSMode"
- class="my-5 border-none"
+ class="my-4 border-none"
:style="'INFO'"
:title="$t('instance.sentence.outbound-ip-list')"
:description="outboundIpList"
diff --git a/frontend/src/components/PricingTable/FeatureItem.vue b/frontend/src/components/PricingTable/FeatureItem.vue
index 589da31893..ff98a1820f 100644
--- a/frontend/src/components/PricingTable/FeatureItem.vue
+++ b/frontend/src/components/PricingTable/FeatureItem.vue
@@ -10,7 +10,7 @@
style="margin-bottom: -1rem"
>
<template #trigger>
- <div class="flex justify-center py-5 px-6">
+ <div class="flex justify-center py-4 px-6">
<template v-if="featureDetail">
<span v-if="featureDetail.content" class="block text-sm">{{
$t(featureDetail.content ?? "")
diff --git a/frontend/src/components/PricingTable/PricingTable.vue b/frontend/src/components/PricingTable/PricingTable.vue
index 0c61a52055..75ab5e3e7b 100644
--- a/frontend/src/components/PricingTable/PricingTable.vue
+++ b/frontend/src/components/PricingTable/PricingTable.vue
@@ -16,7 +16,7 @@
class="h-full pt-8 px-6 align-top"
>
<div class="flex-1">
- <img :src="plan.image" class="hidden lg:block p-5" />
+ <img :src="plan.image" class="hidden lg:block p-4" />
<div class="flex flex-row items-center h-10">
<h3 class="text-xl font-semibold text-gray-900">
@@ -118,7 +118,7 @@
class="hover:bg-gray-50"
>
<th
- class="py-5 px-6 text-sm font-normal text-gray-500 text-left"
+ class="py-4 px-6 text-sm font-normal text-gray-500 text-left"
scope="row"
>
{{
@@ -139,7 +139,7 @@
<tfoot>
<tr class="border-t border-gray-200">
<th class="sr-only" scope="row">Choose your plan</th>
- <td v-for="plan in plans" :key="plan.type" class="py-5 px-6">
+ <td v-for="plan in plans" :key="plan.type" class="py-4 px-6">
<button
v-if="plan.buttonText"
class="block w-full bg-gray-800 border border-gray-800 rounded-md py-2 text-lg font-semibold text-white text-center hover:bg-gray-900"
@@ -251,7 +251,7 @@
class="hover:bg-gray-50"
>
<th
- class="py-5 px-6 text-sm font-normal text-gray-500 text-left"
+ class="py-4 px-6 text-sm font-normal text-gray-500 text-left"
scope="row"
>
{{
diff --git a/frontend/src/components/ProjectMember/ProjectMemberPanel.vue b/frontend/src/components/ProjectMember/ProjectMemberPanel.vue
index 66d9d3a86d..ee070d0479 100644
--- a/frontend/src/components/ProjectMember/ProjectMemberPanel.vue
+++ b/frontend/src/components/ProjectMember/ProjectMemberPanel.vue
@@ -1,6 +1,6 @@
<template>
<div class="max-w-4xl w-full mx-auto">
- <FeatureAttention custom-class="my-5" feature="bb.feature.rbac" />
+ <FeatureAttention custom-class="my-4" feature="bb.feature.rbac" />
<div class="mb-4 w-full flex flex-row justify-between items-center">
<div>
diff --git a/frontend/src/components/VCSProviderConfirmPanel.vue b/frontend/src/components/VCSProviderConfirmPanel.vue
index 839f32b22b..d19eff074c 100644
--- a/frontend/src/components/VCSProviderConfirmPanel.vue
+++ b/frontend/src/components/VCSProviderConfirmPanel.vue
@@ -3,7 +3,7 @@
<dl
class="divide-y divide-block-border border border-block-border shadow rounded-lg"
>
- <div class="px-4 py-5 sm:px-6">
+ <div class="px-4 py-4 sm:px-6">
<h3 class="text-lg leading-6 font-medium text-main">
{{ $t("gitops.setting.add-git-provider.confirm.confirm-info") }}
</h3>
diff --git a/frontend/src/plugins/demo/components/GuideDialog.vue b/frontend/src/plugins/demo/components/GuideDialog.vue
index ee98ac48fe..300c8b3465 100644
--- a/frontend/src/plugins/demo/components/GuideDialog.vue
+++ b/frontend/src/plugins/demo/components/GuideDialog.vue
@@ -200,7 +200,7 @@ const updateDialogPosition = async () => {
<style scoped>
.guide-wrapper {
- @apply fixed -top-full -left-full bg-white w-64 m-1 my-2 p-3 px-5 text-base text-slate-900 rounded-lg text-left;
+ @apply fixed -top-full -left-full bg-white w-64 m-1 my-2 p-3 px-4 text-base text-slate-900 rounded-lg text-left;
z-index: 10000;
box-shadow: 0 4px 36px rgb(33 33 33 / 40%);
}
diff --git a/frontend/src/plugins/demo/style.css b/frontend/src/plugins/demo/style.css
index 8954371285..0e8e105091 100644
--- a/frontend/src/plugins/demo/style.css
+++ b/frontend/src/plugins/demo/style.css
@@ -22,7 +22,7 @@
.bb-guide-dialog,
.bb-hint-dialog {
- @apply fixed bg-white w-auto m-1 my-2 p-3 px-5 text-slate-900 rounded-lg text-left -top-full -left-full;
+ @apply fixed bg-white w-auto m-1 my-2 p-3 px-4 text-slate-900 rounded-lg text-left -top-full -left-full;
z-index: 10000;
max-width: 300px;
box-shadow: 0 4px 36px rgb(33 33 33 / 40%);
diff --git a/frontend/src/views/AnomalyCenterDashboard.vue b/frontend/src/views/AnomalyCenterDashboard.vue
index 207896a186..c65ef3f623 100644
--- a/frontend/src/views/AnomalyCenterDashboard.vue
+++ b/frontend/src/views/AnomalyCenterDashboard.vue
@@ -30,7 +30,7 @@
{{ i == 0 ? $t("common.database") : $t("common.instance") }}
</h3>
<dl
- class="grid grid-cols-1 gap-5 sm:grid-cols-2"
+ class="grid grid-cols-1 gap-4 sm:grid-cols-2"
:class="`lg:grid-cols-${item.length}`"
>
<template v-for="(summary, index) in item" :key="index">
diff --git a/frontend/src/views/DatabaseDashboard.vue b/frontend/src/views/DatabaseDashboard.vue
index f75909d5dd..2295b8d02d 100644
--- a/frontend/src/views/DatabaseDashboard.vue
+++ b/frontend/src/views/DatabaseDashboard.vue
@@ -1,6 +1,6 @@
<template>
<div class="flex flex-col relative">
- <div class="px-5 py-2 flex justify-between items-center">
+ <div class="px-4 py-2 flex justify-between items-center">
<EnvironmentTabFilter
:include-all="true"
:environment="selectedEnvironment?.uid ?? String(UNKNOWN_ID)"
diff --git a/frontend/src/views/DatabaseGroupDetail.vue b/frontend/src/views/DatabaseGroupDetail.vue
index bbdcd1bff5..e73b41d677 100644
--- a/frontend/src/views/DatabaseGroupDetail.vue
+++ b/frontend/src/views/DatabaseGroupDetail.vue
@@ -69,7 +69,7 @@
<FeatureAttentionForInstanceLicense
v-if="existMatchedUnactivateInstance"
- custom-class="m-5"
+ custom-class="m-4"
:style="`WARN`"
feature="bb.feature.database-grouping"
/>
diff --git a/frontend/src/views/InstanceDashboard.vue b/frontend/src/views/InstanceDashboard.vue
index 09b1870ccd..89b8367889 100644
--- a/frontend/src/views/InstanceDashboard.vue
+++ b/frontend/src/views/InstanceDashboard.vue
@@ -2,11 +2,11 @@
<div class="flex flex-col">
<FeatureAttention
v-if="remainingInstanceCount <= 3"
- custom-class="m-5"
+ custom-class="m-4"
feature="bb.feature.instance-count"
:description="instanceCountAttention"
/>
- <div class="px-5 py-2 flex justify-between items-center">
+ <div class="px-4 py-2 flex justify-between items-center">
<EnvironmentTabFilter
:environment="selectedEnvironment?.uid ?? String(UNKNOWN_ID)"
:include-all="true"
diff --git a/frontend/src/views/SchemaGroupDetail.vue b/frontend/src/views/SchemaGroupDetail.vue
index 11763d09ad..6d73a754d4 100644
--- a/frontend/src/views/SchemaGroupDetail.vue
+++ b/frontend/src/views/SchemaGroupDetail.vue
@@ -63,7 +63,7 @@
<FeatureAttentionForInstanceLicense
v-if="existMatchedUnactivateInstance"
- custom-class="m-5"
+ custom-class="m-4"
:style="`WARN`"
feature="bb.feature.database-grouping"
/>
diff --git a/frontend/src/views/SchemaTemplate/FieldTemplates.vue b/frontend/src/views/SchemaTemplate/FieldTemplates.vue
index 93c248342a..912a26d73b 100644
--- a/frontend/src/views/SchemaTemplate/FieldTemplates.vue
+++ b/frontend/src/views/SchemaTemplate/FieldTemplates.vue
@@ -20,7 +20,7 @@
</div>
</div>
</div>
- <div class="flex items-center gap-x-5 my-5 pb-5 border-b">
+ <div class="flex items-center gap-x-5 my-4 pb-5 border-b">
<label
v-for="item in engineList"
:key="item"
diff --git a/frontend/src/views/SettingWorkspaceMailDelivery.vue b/frontend/src/views/SettingWorkspaceMailDelivery.vue
index 005e99f968..93d69a5dfc 100644
--- a/frontend/src/views/SettingWorkspaceMailDelivery.vue
+++ b/frontend/src/views/SettingWorkspaceMailDelivery.vue
@@ -1,5 +1,5 @@
<template>
- <div class="border-b textinfolabel p-2">
+ <div class="textinfolabel py-4">
{{ $t("settings.mail-delivery.description") }}
<a
class="normal-link inline-flex items-center"
@@ -164,7 +164,7 @@
<BBSpin v-if="state.isCreateOrUpdateLoading" class="ml-1" />
</div>
</div>
- <div class="border-b mt-5"></div>
+ <div class="border-b mt-4"></div>
<!-- Test Send Email To Someone -->
<div class="w-full gap-4 mt-4 flex flex-row">
<div class="min-w-max w-160">
diff --git a/frontend/src/views/SettingWorkspaceMember.vue b/frontend/src/views/SettingWorkspaceMember.vue
index 3119796c07..33932dffb6 100644
--- a/frontend/src/views/SettingWorkspaceMember.vue
+++ b/frontend/src/views/SettingWorkspaceMember.vue
@@ -1,7 +1,7 @@
<template>
<FeatureAttention
v-if="remainingUserCount <= 3"
- custom-class="m-5"
+ custom-class="m-4"
feature="bb.feature.user-count"
:description="userCountAttention"
/>
@@ -11,7 +11,7 @@
<MemberAddOrInvite />
</div>
- <FeatureAttention custom-class="my-5" feature="bb.feature.rbac" />
+ <FeatureAttention custom-class="my-4" feature="bb.feature.rbac" />
<div class="flex justify-between items-center">
<div class="flex-1 flex space-x-2">
diff --git a/frontend/src/views/SettingWorkspaceSQLReview.vue b/frontend/src/views/SettingWorkspaceSQLReview.vue
index 601dcb07f6..4e763023ae 100644
--- a/frontend/src/views/SettingWorkspaceSQLReview.vue
+++ b/frontend/src/views/SettingWorkspaceSQLReview.vue
@@ -1,6 +1,6 @@
<template>
<div class="mx-auto">
- <div class="textinfolabel">
+ <div class="textinfolabel my-4">
{{ $t("sql-review.description") }}
<a
href="https://www.bytebase.com/docs/sql-review/review-rules"
@@ -11,12 +11,9 @@
<heroicons-outline:external-link class="w-4 h-4" />
</a>
</div>
- <FeatureAttentionForInstanceLicense
- custom-class="mt-5"
- feature="bb.feature.sql-review"
- />
+ <FeatureAttentionForInstanceLicense feature="bb.feature.sql-review" />
- <SQLReviewPolicyTable class="my-5" />
+ <SQLReviewPolicyTable class="my-4" />
</div>
</template>
diff --git a/frontend/src/views/SettingWorkspaceSQLReviewCreate.vue b/frontend/src/views/SettingWorkspaceSQLReviewCreate.vue
index 425e154e49..1ac3bf64e3 100644
--- a/frontend/src/views/SettingWorkspaceSQLReviewCreate.vue
+++ b/frontend/src/views/SettingWorkspaceSQLReviewCreate.vue
@@ -1,6 +1,6 @@
<template>
<div class="space-y-4">
- <FeatureAttention custom-class="mb-5" feature="bb.feature.sql-review" />
+ <FeatureAttention custom-class="mb-4" feature="bb.feature.sql-review" />
<SQLReviewCreation
:selected-rule-list="[]"
:selected-environment="environment"
diff --git a/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue b/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue
index 122d3b22e3..2de234e74d 100644
--- a/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue
+++ b/frontend/src/views/SettingWorkspaceSQLReviewDetail.vue
@@ -1,5 +1,5 @@
<template>
- <FeatureAttention custom-class="my-5" feature="bb.feature.sql-review" />
+ <FeatureAttention custom-class="my-4" feature="bb.feature.sql-review" />
<SQLReviewCreation
v-if="state.editMode"
key="sql-review-creation"
@@ -9,7 +9,7 @@
:selected-rule-list="ruleListOfPolicy"
@cancel="state.editMode = false"
/>
- <div v-else class="mt-5">
+ <div v-else class="mt-4">
<div
class="flex flex-col items-center space-x-2 justify-center md:flex-row"
>
@@ -66,7 +66,7 @@
</div>
<BBAttention
v-if="!reviewPolicy.environment"
- class="my-5"
+ class="my-4"
:style="`WARN`"
:title="$t('sql-review.create.basic-info.no-linked-environments')"
/>
@@ -85,7 +85,7 @@
@comment-change="onCommentChange"
/>
<BBButtonConfirm
- class="my-5"
+ class="my-4"
:disabled="!hasPermission"
:style="'DELETE'"
:button-text="$t('sql-review.delete')"
diff --git a/frontend/src/views/SettingWorkspaceSSO.vue b/frontend/src/views/SettingWorkspaceSSO.vue
index a60e764964..78bc92e195 100644
--- a/frontend/src/views/SettingWorkspaceSSO.vue
+++ b/frontend/src/views/SettingWorkspaceSSO.vue
@@ -23,7 +23,6 @@
</button>
</div>
</div>
- <hr />
<div
v-if="identityProviderList.length === 0"
class="w-full flex flex-col justify-center items-center"
diff --git a/frontend/src/views/SettingWorkspaceSSODetail.vue b/frontend/src/views/SettingWorkspaceSSODetail.vue
index 698c6a13f4..aa5e3012d3 100644
--- a/frontend/src/views/SettingWorkspaceSSODetail.vue
+++ b/frontend/src/views/SettingWorkspaceSSODetail.vue
@@ -16,7 +16,6 @@
</a>
</div>
</div>
- <hr />
</div>
<IdentityProviderCreateForm
diff --git a/frontend/src/views/SettingWorkspaceSubscription.vue b/frontend/src/views/SettingWorkspaceSubscription.vue
index 695e900040..98aa60ca24 100644
--- a/frontend/src/views/SettingWorkspaceSubscription.vue
+++ b/frontend/src/views/SettingWorkspaceSubscription.vue
@@ -1,6 +1,6 @@
<template>
<div class="mx-auto">
- <div class="textinfolabel">
+ <div class="textinfolabel my-4">
{{ $t("subscription.description") }}
<a
class="text-accent"
@@ -16,7 +16,7 @@
</span>
</span>
</div>
- <dl class="text-left grid grid-cols-2 gap-x-6 my-5 xl:grid-cols-4">
+ <dl class="text-left grid grid-cols-2 gap-x-6 my-4 xl:grid-cols-4">
<div class="my-3">
<dt class="flex text-gray-400">
{{ $t("subscription.current") }}
@@ -116,7 +116,7 @@
</dd>
</div>
</dl>
- <div v-if="canManageSubscription" class="w-full mt-5 flex flex-col">
+ <div v-if="canManageSubscription" class="w-full mt-4 flex flex-col">
<textarea
id="license"
v-model="state.license"
@@ -135,7 +135,7 @@
{{ $t("subscription.upload-license") }}
</button>
</div>
- <div class="sm:flex sm:flex-col sm:align-center pt-5 mt-5 border-t">
+ <div class="sm:flex sm:flex-col sm:align-center pt-5 mt-4 border-t">
<div class="textinfolabel">
{{ $t("subscription.plan-compare") }}
</div>
diff --git a/frontend/src/views/SettingWorkspaceVCS.vue b/frontend/src/views/SettingWorkspaceVCS.vue
index 178ef7353f..fb38be76bc 100644
--- a/frontend/src/views/SettingWorkspaceVCS.vue
+++ b/frontend/src/views/SettingWorkspaceVCS.vue
@@ -1,6 +1,6 @@
<template>
<div class="space-y-4">
- <div class="textinfolabel">
+ <div class="textinfolabel py-4">
{{ $t("gitops.setting.description") }}
<a
class="text-accent hover:opacity-80"
@@ -17,16 +17,15 @@
{{ $t("gitops.setting.add-git-provider.self") }}
</button>
</div>
- <div class="pt-4 border-t">
- <div v-if="vcsList.length > 0" class="space-y-6">
- <template v-for="(vcs, index) in vcsList" :key="index">
- <VCSCard :vcs="vcs" />
- </template>
- </div>
- <template v-else>
- <VCSSetupWizard />
+
+ <div v-if="vcsList.length > 0" class="space-y-6">
+ <template v-for="(vcs, index) in vcsList" :key="index">
+ <VCSCard :vcs="vcs" />
</template>
</div>
+ <template v-else>
+ <VCSSetupWizard />
+ </template>
</div>
</template>