fix: layout issues in jobList toolbar

This commit is contained in:
Christoph Kluge
2025-06-05 17:47:03 +02:00
parent 0a24ef70e0
commit 0e3603f596
4 changed files with 16 additions and 13 deletions

View File

@@ -344,7 +344,7 @@
{/if}
{#if matchedJobs >= -1}
<Button class="mb-1" style="margin-right: 0.5rem;" disabled outline>
<Button class="mb-1" style="margin-right: 0.25rem;" disabled outline>
{matchedJobs == -1 ? 'Loading ...' : `${matchedJobs} jobs`}
</Button>
{/if}

View File

@@ -13,6 +13,7 @@
/* Svelte 5 Props */
let {
initially = null,
presetClass = "",
onRefresh
} = $props();
@@ -35,7 +36,7 @@
});
</script>
<InputGroup>
<InputGroup class={presetClass}>
<Input
type="select"
title="Periodic refresh interval"

View File

@@ -97,7 +97,7 @@
<Input
type="select"
style="max-width: 120px;"
class="form-select"
class="form-select w-auto"
title="Search Mode"
bind:value={mode}
onchange={modeChanged}
@@ -115,7 +115,7 @@
bind:value={term}
onchange={() => termChanged()}
onkeyup={(event) => termChanged(event.key == "Enter" ? 0 : throttle)}
placeholder={presetProject ? `Find ${mode} in ${scrambleNames ? scramble(presetProject) : presetProject} ...` : `Find ${mode} ...`}
placeholder={presetProject ? `Find in ${scrambleNames ? scramble(presetProject) : presetProject} ...` : `Find ${mode} ...`}
/>
{#if presetProject}
<Button title="Reset Project" onclick={() => resetProject()}