From 27cd87e9ada6e5d85d5a142ee08b4c30367357cd Mon Sep 17 00:00:00 2001 From: silentoplayz Date: Sat, 27 Sep 2025 15:45:25 -0400 Subject: [PATCH] fix: i81n.t and correct button layout issue 1. **i18n Regression:** A latent bug in `src/routes/(app)/workspace/models/create/+page.svelte` was causing an `i18n.t is not a function` error. This was due to an incorrect call to the `i18n` Svelte store. The fix corrects the call to use the proper auto-subscription syntax (`$i18n.t()`). 2. **Vertical Button Text:** In `src/lib/components/playground/Chat.svelte`, the "Assistant"/"User" role button's text was displaying vertically. This was caused by a `flex-1` class on its container, which has been removed. --- src/lib/components/playground/Chat.svelte | 2 +- src/routes/(app)/workspace/models/create/+page.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/playground/Chat.svelte b/src/lib/components/playground/Chat.svelte index 933c9b34b8..5b4d179429 100644 --- a/src/lib/components/playground/Chat.svelte +++ b/src/lib/components/playground/Chat.svelte @@ -296,7 +296,7 @@
-
+