minor UX improvements

This commit is contained in:
Ruben Fiszel
2023-04-15 23:10:36 +02:00
parent 9e1e9a8d3a
commit 4018aa7828
3 changed files with 6 additions and 6 deletions
@@ -67,7 +67,7 @@
<ScheduleEditor on:update={() => goto('/schedules')} bind:this={scheduleEditor} />
<JobPreview {job}>
<div class="border border-gray-400 rounded py-4 h-[72px]">
<div class="border border-gray-400 rounded py-4">
<div class="grid grid-cols-1 lg:grid-cols-4 w-full gap-4">
<div class="flex-col col-span-2">
<div class="flex flex-row text-sm">
@@ -253,7 +253,7 @@
<input type="text" value={maxTs ?? 'zoom x axis to set max'} disabled />
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-2 mb-2 w-full flex-wrap">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-2 mb-2 w-full flex-wrap">
<div>
<div class="flex flex-row gap-x-2">
{#key path}
@@ -92,7 +92,7 @@
<td class="!px-0 text-center">
<SharedBadge {canWrite} extraPerms={extra_perms} />
</td>
<td class="max-w-sm">
<td class="max-w-sm min-w-[100px]">
<button
class="break-all text-left text-sm text-blue-600 font-normal"
on:click={() => scheduleEditor?.openEdit(path, is_flow)}
@@ -100,9 +100,9 @@
{path}
</button>
</td>
<td>
<td class="">
<div class="inline-flex flex-row gap-x-2 align-middle w-full">
<div class="grow">
<div class="grow !min-w-[100px]">
<a
class="text-sm break-all"
href="{is_flow ? '/flows/get' : '/scripts/get'}/{script_path}"
@@ -157,7 +157,7 @@
}}
/>
</td>
<td>
<td class="min-w-[100px]">
<span class="text-2xs">By {edited_by} <br />the {displayDate(edited_at)}</span>
</td>
<td>