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

fix(service): table alignement #698

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ function openDetails() {
}
</script>

<button title="Open service details" class="text-sm text-gray-700" on:click="{() => openDetails()}">
<button
title="Open service details"
class="text-sm text-gray-700 w-full text-ellipsis overflow-hidden"
on:click="{() => openDetails()}">
{object.container.containerId}
</button>
8 changes: 4 additions & 4 deletions packages/frontend/src/pages/InferenceServers.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import ServiceAction from '/@/lib/table/service/ServiceAction.svelte';
import ServiceColumnModelName from '/@/lib/table/service/ServiceColumnModelName.svelte';

const columns: Column<InferenceServer>[] = [
new Column<InferenceServer>('Status', { width: '50px', renderer: ServiceStatus, align: 'center' }),
new Column<InferenceServer>('Name', { width: '1fr', renderer: ServiceColumnName, align: 'center' }),
new Column<InferenceServer>('Model', { width: '3fr', renderer: ServiceColumnModelName, align: 'center' }),
new Column<InferenceServer>('Action', { width: '80px', renderer: ServiceAction, align: 'center' }),
new Column<InferenceServer>('Status', { width: '70px', renderer: ServiceStatus, align: 'center' }),
new Column<InferenceServer>('Name', { width: '1fr', renderer: ServiceColumnName, align: 'left' }),
new Column<InferenceServer>('Model', { renderer: ServiceColumnModelName, align: 'left' }),
new Column<InferenceServer>('Action', { width: '80px', renderer: ServiceAction, align: 'right' }),
];
const row = new Row<InferenceServer>({});

Expand Down