mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-04-07 00:15:23 +02:00
fix: Remove resize property from input class for agent description textarea
This commit is contained in:
parent
e60fa617e8
commit
fc46ea5d79
1 changed files with 3 additions and 2 deletions
|
|
@ -33,7 +33,7 @@ import MCPTools from './MCPTools';
|
||||||
const labelClass = 'mb-2 text-token-text-primary block font-medium';
|
const labelClass = 'mb-2 text-token-text-primary block font-medium';
|
||||||
const inputClass = cn(
|
const inputClass = cn(
|
||||||
defaultTextProps,
|
defaultTextProps,
|
||||||
'flex w-full px-3 py-2 border-border-light bg-surface-secondary focus-visible:ring-2 focus-visible:ring-ring-primary resize-none',
|
'flex w-full px-3 py-2 border-border-light bg-surface-secondary focus-visible:ring-2 focus-visible:ring-ring-primary',
|
||||||
removeFocusOutlines,
|
removeFocusOutlines,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -239,10 +239,11 @@ export default function AgentConfig() {
|
||||||
{...field}
|
{...field}
|
||||||
value={field.value ?? ''}
|
value={field.value ?? ''}
|
||||||
maxLength={512}
|
maxLength={512}
|
||||||
className={inputClass}
|
className={cn(inputClass, 'resize-none')}
|
||||||
id="description"
|
id="description"
|
||||||
placeholder={localize('com_agents_description_placeholder')}
|
placeholder={localize('com_agents_description_placeholder')}
|
||||||
aria-label="Agent description"
|
aria-label="Agent description"
|
||||||
|
rows={3}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue