ui: fixes

This commit is contained in:
Andras Bacsai 2022-09-29 13:23:29 +02:00
parent f40e142704
commit 90bb580e50
5 changed files with 10 additions and 10 deletions

View File

@ -153,7 +153,7 @@
{: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 lg:justify-center">
<div class="custom-select-wrapper"><label for="repository" class="pb-1">Repository</label>
<div class="custom-select-wrapper w-full"><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"><label for="repository" class="pb-1">Branch</label>
<div class="custom-select-wrapper w-full"><label for="repository" class="pb-1">Branch</label>
<Select
placeholder={loading.branches
? $t('application.configuration.loading_branches')

View File

@ -328,8 +328,10 @@
</script>
<form on:submit={handleSubmit}>
<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">
<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 lg:px-0 px-8"
>
<div class="custom-select-wrapper w-full">
<label for="groups" class="pb-1">Groups</label>
<Select
placeholder={loading.base
@ -355,7 +357,7 @@
optionIdentifier="id"
/>
</div>
<div class="custom-select-wrapper">
<div class="custom-select-wrapper w-full">
<label for="projects" class="pb-1">Projects</label>
<Select
placeholder={loading.projects
@ -381,7 +383,7 @@
isSearchable={true}
/>
</div>
<div class="custom-select-wrapper">
<div class="custom-select-wrapper w-full">
<label for="branches" class="pb-1">Branches</label>
<Select
placeholder={loading.branches

View File

@ -170,7 +170,7 @@
</button>
</div>
<div class="custom-select-wrapper w-full">
<div class="custom-select-wrapper">
<Select
placeholder={loading.branches
? $t('application.configuration.loading_branches')

View File

@ -26,8 +26,6 @@
</script>
<script lang="ts">
import { t } from '$lib/translations';
export let application: any;
export let appId: string;
export let settings: any;

View File

@ -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 ;
@apply h-12 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 {