From 37825092e4563b6ba8883582a3e7a026b8f59418 Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Wed, 19 Jun 2024 11:30:56 +0200 Subject: [PATCH] fix: scroll Signed-off-by: Philippe Martin --- .../src/pages/InferenceServerDetails.svelte | 174 +++++++++--------- 1 file changed, 91 insertions(+), 83 deletions(-) diff --git a/packages/frontend/src/pages/InferenceServerDetails.svelte b/packages/frontend/src/pages/InferenceServerDetails.svelte index b9111b840..65324acef 100644 --- a/packages/frontend/src/pages/InferenceServerDetails.svelte +++ b/packages/frontend/src/pages/InferenceServerDetails.svelte @@ -122,7 +122,7 @@ export function goToUpPage(): void { } - -
-
-
- {#if service !== undefined} - -
-
- Models -
- {#each service.models as model} -
- -
-
- - {model.license} +
+
+
+
+ {#if service !== undefined} + +
+
+ Models +
+ {#each service.models as model} +
+ -
-
-
- - {model.registry} +
+
+ + {model.license} +
+
+
+
+ + {model.registry} +
-
- {/each} + {/each} +
-
- - -
- Server -
-
- http://localhost:{service.connection.port}/v1 -
-
- CPU Inference - + +
+ Server +
+
+ http://localhost:{service.connection.port}/v1 +
+ +
+ CPU Inference + +
-
- - -
-
- Client code - - - - {#if selectedVariant !== undefined} + + +
+
+ Client code + + - {/if} -
+ {#if selectedVariant !== undefined} + + {/if} +
- {#if snippet !== undefined} -
- - {snippet} - -
-
-
- {/if} -
- {/if} + {/if} +
+ {/if} +