Skip to content

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

Separate radio-set-row radio-set-col style

天舟d34ebb54be4a
diff --git a/frontend/src/assets/css/tailwind.css b/frontend/src/assets/css/tailwind.css
index a2f7231341..fbd50795d4 100644
--- a/frontend/src/assets/css/tailwind.css
+++ b/frontend/src/assets/css/tailwind.css
@@ -116,8 +116,12 @@
@apply text-main focus:ring-control focus:border-control sm:text-sm border-control-border shadow-sm;
}
-.radio-set {
- @apply items-center space-x-4;
+.radio-set-row {
+ @apply flex flex-row items-center space-x-4;
+}
+
+.radio-set-col {
+ @apply flex flex-col space-y-2;
}
.radio {
diff --git a/frontend/src/components/ProjectMemberPanel.vue b/frontend/src/components/ProjectMemberPanel.vue
index e672ec6020..0d3fc9f356 100644
--- a/frontend/src/components/ProjectMemberPanel.vue
+++ b/frontend/src/components/ProjectMemberPanel.vue
@@ -24,7 +24,7 @@
"
/>
</div>
- <div v-if="hasAdminFeature" class="flex flex-row radio-set">
+ <div v-if="hasAdminFeature" class="radio-set-row">
<div class="radio">
<input
:name="`member_role`"
diff --git a/frontend/src/components/RequestDatabasePrepForm.vue b/frontend/src/components/RequestDatabasePrepForm.vue
index e162dd4ada..25546ebca8 100644
--- a/frontend/src/components/RequestDatabasePrepForm.vue
+++ b/frontend/src/components/RequestDatabasePrepForm.vue
@@ -37,7 +37,7 @@
<template v-if="state.environmentId">
<div class="col-span-2 col-start-1 w-64 space-y-2">
- <div class="hidden sm:flex sm:flex-row radio-set justify-between">
+ <div class="hidden radio-set-row justify-between">
<div class="radio">
<input
name="Create new"
diff --git a/frontend/src/components/VCSProviderBasicInfoPanel.vue b/frontend/src/components/VCSProviderBasicInfoPanel.vue
index 35fd604559..3b73c10190 100644
--- a/frontend/src/components/VCSProviderBasicInfoPanel.vue
+++ b/frontend/src/components/VCSProviderBasicInfoPanel.vue
@@ -2,7 +2,7 @@
<div class="textlabel">
Choose Git provider <span class="text-red-600">*</span>
</div>
- <div class="pt-4 flex flex-row radio-set">
+ <div class="pt-4 radio-set-row">
<div class="radio space-x-2">
<input
name="Self-host GitLab"