Skip to content

Commit 94c025c

Browse files
committed
Update ToolkitEditor.svelte
fix
1 parent b94de4f commit 94c025c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib/components/workspace/Tools/ToolkitEditor.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class Tools:
198198
}
199199
}}
200200
>
201-
<div class="flex flex-col flex-1 overflow-auto h-0">
201+
<div class="flex flex-col flex-1 overflow-auto h-0 rounded-lg">
202202
<div class="w-full mb-2 flex flex-col gap-0.5">
203203
<div class="flex w-full items-center">
204204
<div class=" shrink-0 mr-2">
@@ -218,7 +218,7 @@ class Tools:
218218
<div class="flex-1">
219219
<Tooltip content={$i18n.t('e.g. My Tools')} placement="top-start">
220220
<input
221-
class="w-full text-2xl font-semibold bg-transparent outline-hidden"
221+
class="w-full text-2xl font-medium bg-transparent outline-hidden font-primary"
222222
type="text"
223223
placeholder={$i18n.t('Tool Name')}
224224
bind:value={name}
@@ -282,12 +282,12 @@ class Tools:
282282
<CodeEditor
283283
bind:this={codeEditor}
284284
value={content}
285-
{boilerplate}
286285
lang="python"
286+
{boilerplate}
287287
onChange={(e) => {
288288
_content = e;
289289
}}
290-
onSave={() => {
290+
onSave={async () => {
291291
if (formElement) {
292292
formElement.requestSubmit();
293293
}

0 commit comments

Comments
 (0)