Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Update API Key Textarea Styles and Configuration

Muhammad Hamza Khan84dc92d5ac14
diff --git a/packages/app/src/builder-ui/components/Component.class/index.ts b/packages/app/src/builder-ui/components/Component.class/index.ts
index 5e125bf8..5197ff6d 100644
--- a/packages/app/src/builder-ui/components/Component.class/index.ts
+++ b/packages/app/src/builder-ui/components/Component.class/index.ts
@@ -3543,7 +3543,7 @@ function addMissingKey({
apiKey: {
label: 'Key',
type: 'textarea',
- fieldCls: 'max-h-64 min-h-[34px] h-[34px] px-3 py-1',
+ fieldCls: 'configure-api-key-textarea px-3 py-2',
class: 'w-3/5',
validate: 'required maxlength=10000',
validateMessage: 'API Key is required',
diff --git a/packages/app/static/css/smyth-builder-override.css b/packages/app/static/css/smyth-builder-override.css
index 281f7045..a545ce1d 100644
--- a/packages/app/static/css/smyth-builder-override.css
+++ b/packages/app/static/css/smyth-builder-override.css
@@ -1135,6 +1135,11 @@ code.language-plan.done::before {
overflow: hidden;
}
+.dlg-form .textarea .configure-api-key-textarea {
+ min-height: 36px !important;
+ height: 36px !important;
+}
+
.smyth-dialog #expanded-textarea {
max-height: none !important;
}