Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

ui: fix gitlab importer view

Andras Bacsai9662bc29fb04
diff --git a/apps/ui/src/routes/applications/[id]/configuration/_GithubRepositories.svelte b/apps/ui/src/routes/applications/[id]/configuration/_GithubRepositories.svelte
index 98a984087d..193b19791f 100644
--- a/apps/ui/src/routes/applications/[id]/configuration/_GithubRepositories.svelte
+++ b/apps/ui/src/routes/applications/[id]/configuration/_GithubRepositories.svelte
@@ -152,8 +152,8 @@
</div>
{:else}
<form on:submit|preventDefault={handleSubmit} class="px-10">
- <div class="flex lg:flex-row flex-col lg:space-y-0 space-y-2 space-x-0 lg:space-x-2 items-center">
- <div class="custom-select-wrapper w-1/2"><label for="repository" class="pb-1">Repository</label>
+ <div class="flex lg:flex-row flex-col lg:space-y-0 space-y-2 space-x-0 lg:space-x-2 items-center lg:justify-center">
+ <div class="custom-select-wrapper"><label for="repository" class="pb-1">Repository</label>
<Select
placeholder={loading.repositories
? $t('application.configuration.loading_repositories')
@@ -168,7 +168,7 @@
/>
</div>
<input class="hidden" bind:value={selected.projectId} name="projectId" />
- <div class="custom-select-wrapper w-1/2"><label for="repository" class="pb-1">Branch</label>
+ <div class="custom-select-wrapper"><label for="repository" class="pb-1">Branch</label>
<Select
placeholder={loading.branches
? $t('application.configuration.loading_branches')
diff --git a/apps/ui/src/routes/applications/[id]/configuration/_GitlabRepositories.svelte b/apps/ui/src/routes/applications/[id]/configuration/_GitlabRepositories.svelte
index 93a7616a95..59b6b6c38b 100644
--- a/apps/ui/src/routes/applications/[id]/configuration/_GitlabRepositories.svelte
+++ b/apps/ui/src/routes/applications/[id]/configuration/_GitlabRepositories.svelte
@@ -328,8 +328,9 @@
</script>
<form on:submit={handleSubmit}>
- <div class="flex flex-col space-y-2 px-4 xl:flex-row xl:space-y-0 xl:space-x-2 ">
+ <div class="flex lg:flex-row flex-col lg:space-y-0 space-y-2 space-x-0 lg:space-x-2 items-center lg:justify-center">
<div class="custom-select-wrapper">
+ <label for="groups" class="pb-1">Groups</label>
<Select
placeholder={loading.base
? $t('application.configuration.loading_groups')
@@ -355,6 +356,7 @@
/>
</div>
<div class="custom-select-wrapper">
+ <label for="projects" class="pb-1">Projects</label>
<Select
placeholder={loading.projects
? $t('application.configuration.loading_projects')
@@ -380,6 +382,7 @@
/>
</div>
<div class="custom-select-wrapper">
+ <label for="branches" class="pb-1">Branches</label>
<Select
placeholder={loading.branches
? $t('application.configuration.loading_branches')
diff --git a/apps/ui/src/tailwind.css b/apps/ui/src/tailwind.css
index b60cef99c7..30a70400f0 100644
--- a/apps/ui/src/tailwind.css
+++ b/apps/ui/src/tailwind.css
@@ -43,7 +43,7 @@ textarea {
}
#svelte .custom-select-wrapper .selectContainer {
- @apply h-12 w-96 rounded bg-coolgray-200 p-2 px-0 text-xs tracking-tight outline-none transition duration-150 hover:bg-coolgray-500 focus:bg-coolgray-500 md:text-sm w-full ;
+ @apply h-12 w-96 rounded bg-coolgray-200 p-2 px-0 text-xs tracking-tight outline-none transition duration-150 hover:bg-coolgray-500 focus:bg-coolgray-500 md:text-sm ;
}
#svelte .listContainer {