Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart Editor: Left align table #4903

Merged
merged 1 commit into from
May 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions web-local/src/routes/(application)/chart/[name]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
</ChartPromptStatusDisplay>

<div
class="size-full h-48 bg-gray-100 border-t relative flex-none flex-shrink-0 grid place-content-center"
class="size-full h-48 bg-gray-100 border-t relative flex-none flex-shrink-0"
style:height="{tablePercentage * 100}%"
>
<Resizer
Expand All @@ -135,7 +135,9 @@
/>

{#if chartDataFetching}
<div class="flex flex-col gap-y-2 items-center">
<div
class="flex flex-col gap-y-2 size-full justify-center items-center"
>
<Spinner size="2em" status={EntityStatus.Running} />
<div>Loading chart data</div>
</div>
Expand All @@ -149,7 +151,9 @@
}))}
/>
{:else}
<p class="text-lg">Update YAML to view chart data</p>
<p class="text-lg size-full grid place-content-center">
Update YAML to view chart data
</p>
{/if}
</div>
</div>
Expand Down
Loading