ui: fix gitlab importer view

This commit is contained in:
Andras Bacsai
2022-09-28 09:56:27 +02:00
parent 96f2660b98
commit 9662bc29fb
3 changed files with 8 additions and 5 deletions

View File

@@ -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')

View File

@@ -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')