mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-08 03:28:51 +01:00
style: mobile optimizations, use fixed dialogs, and prevent auto-scroll for presets (#534)
* style(client): adjust height and add overflow to EditPresetDialog, AgentSettings, and Settings components style(client): adjust size and add overflow to NewConversationMenu and PresetItems components style(ui): add overflow to DialogContent component * style(Settings.jsx): change height of settings component to md:h-[350px] h-[490px]
This commit is contained in:
parent
4f47da8f0d
commit
ac537b96f6
10 changed files with 14 additions and 16 deletions
|
|
@ -6,7 +6,7 @@ export default function PresetItems({ presets, onSelect, onChangePreset, onDelet
|
|||
<>
|
||||
{presets.map((preset) => (
|
||||
<PresetItem
|
||||
key={preset?.presetId}
|
||||
key={preset?.presetId ?? Math.random()}
|
||||
value={preset}
|
||||
onSelect={onSelect}
|
||||
onChangePreset={onChangePreset}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue