Skip to content

Commit

Permalink
Spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardo-forina committed Jun 24, 2024
1 parent 18793d1 commit 0ded689
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions podman-desktop-extension/packages/frontend/src/Clusters.svelte
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<script lang="ts">
import './app.css';
import { type ClusterList, ClustersResponseSchema } from '/@/api/api-kafka';
import { streamshubClient } from '/@/api/client';
import {type ClusterList, ClustersResponseSchema} from '/@/api/api-kafka';
import {streamshubClient} from '/@/api/client';
import ClusterNameColumn from '/@/lib/ClusterNameColumn.svelte';
import ClusterNamespaceColumn from '/@/lib/ClusterNamespaceColumn.svelte';
import ClusterVersionColumn from '/@/lib/ClusterVersionColumn.svelte';
import ClusterNameColumn from '/@/lib/ClusterNameColumn.svelte';
import NavPage from '/@/lib/upstream/NavPage.svelte';
import type { StreamshubConsoleInfo } from '/@shared/src/models/streamshub';
import { Table, TableColumn, TableRow } from '@podman-desktop/ui-svelte';
import { onMount } from 'svelte';
import type {StreamshubConsoleInfo} from '/@shared/src/models/streamshub';
import {Table, TableColumn, TableRow} from '@podman-desktop/ui-svelte';
import {onMount} from 'svelte';
export let project: string;
let consoleObj: StreamshubConsoleInfo | undefined = undefined;
Expand Down Expand Up @@ -78,7 +78,7 @@
searchEnabled="{false}"
title={consoleObj?.project ?? ''}
>
<div class="flex min-w-full h-full" slot="content">
<div class="flex min-w-full h-full py-5" slot="content">
{#if clusters}
<Table
bind:this="{table}"
Expand All @@ -91,7 +91,7 @@
</Table>

{#if clusters.length === 0}
TODO no clusters
No clusters.
{/if}
{/if}
</div>
Expand Down
8 changes: 4 additions & 4 deletions podman-desktop-extension/packages/frontend/src/Console.svelte
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script lang="ts">
import './app.css';
import { streamshubClient } from '/@/api/client';
import {streamshubClient} from '/@/api/client';
import NavPage from '/@/lib/upstream/NavPage.svelte';
import type { StreamshubConsoleInfo } from '/@shared/src/models/streamshub';
import { onMount } from 'svelte';
import type {StreamshubConsoleInfo} from '/@shared/src/models/streamshub';
import {onMount} from 'svelte';
export let project: string | undefined = undefined;
let consoleObj: StreamshubConsoleInfo | undefined = undefined;
Expand All @@ -22,7 +22,7 @@
title={consoleObj?.project ?? ''}
>
<svelte:fragment slot="content">
<iframe class="w-full h-full" src="{consoleObj?.ui.url}"
<iframe class="w-full h-full py-5" src="{consoleObj?.ui.url}"
title={consoleObj?.project}></iframe>
</svelte:fragment>

Expand Down
4 changes: 2 additions & 2 deletions podman-desktop-extension/packages/frontend/src/Topics.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
searchEnabled="{false}"
title={clusterName}
>
<div class="flex min-w-full h-full" slot="content">
<div class="flex min-w-full h-full py-5" slot="content">
{#if topicsTableData}
<Table
bind:this="{table}"
Expand All @@ -118,7 +118,7 @@
</Table>

{#if topicsTableData.length === 0}
TODO no topics
No topics.
{/if}
{/if}
</div>
Expand Down

0 comments on commit 0ded689

Please sign in to comment.