mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-04 07:10:18 +01:00
🧩 feat: Standardize empty states, improve MCP icon upload accessibility, and refine UI layout (#11195)
* feat: Enhance accessibility and localization for empty states in prompts, bookmarks, and memories * feat: Improve accessibility and layout for icon upload component * fix: Update dialog content width for improved accessibility
This commit is contained in:
parent
ca58d70c44
commit
1544491737
8 changed files with 54 additions and 21 deletions
|
|
@ -15,7 +15,7 @@ export default function MCPServerForm({ formHook }: MCPServerFormProps) {
|
|||
|
||||
return (
|
||||
<FormProvider {...methods}>
|
||||
<div className="max-h-[70vh] space-y-4 overflow-y-auto px-1 py-1">
|
||||
<div className="space-y-4 px-1 py-1">
|
||||
<BasicInfoSection />
|
||||
|
||||
<ConnectionSection />
|
||||
|
|
|
|||
|
|
@ -31,11 +31,11 @@ export default function BasicInfoSection() {
|
|||
return (
|
||||
<div className="space-y-3">
|
||||
{/* Icon + Name row */}
|
||||
<div className="flex items-start gap-4">
|
||||
<div className="flex flex-col gap-4 sm:flex-row sm:items-start">
|
||||
<div className="flex-shrink-0">
|
||||
<MCPIcon icon={iconValue} onIconChange={handleIconChange} />
|
||||
</div>
|
||||
<div className="flex-1 space-y-1.5">
|
||||
<div className="w-full space-y-1.5 sm:flex-1">
|
||||
<Label htmlFor="title" className="text-sm font-medium">
|
||||
{localize('com_ui_name')} <span className="text-text-secondary">*</span>
|
||||
</Label>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue