Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

#5150: size the endpoint's text fields to the select column

milind-sonid5a1dd666f9d
diff --git a/src/components/DecisionModelSettings.tsx b/src/components/DecisionModelSettings.tsx
index 5c4ee72bf2..a7a5d64be6 100644
--- a/src/components/DecisionModelSettings.tsx
+++ b/src/components/DecisionModelSettings.tsx
@@ -141,7 +141,7 @@ function SavedText({ saved, onSave, disabled, label, placeholder, testId }: {
aria-label={label}
autoComplete="off"
spellCheck={false}
- className={SETTINGS_INPUT}
+ className={cn(SETTINGS_INPUT, "[width:var(--settings-select-width,200px)] max-w-full")}
/>
);
}