mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-25 20:04:09 +01:00
🎨 style: Enhance UI/UX for Font Size, Mentions, and Prompts (#3575)
* style: fix prompts icon shrinking in command popover * fix: scroll into view behavior for mentions * fix: always apply default font size if not found * refactor: Update useMessageScrolling threshold and debounceRate
This commit is contained in:
parent
2bb0842650
commit
b3821c1404
7 changed files with 36 additions and 19 deletions
|
|
@ -6,8 +6,8 @@ import useScrollToRef from '~/hooks/useScrollToRef';
|
|||
import { useChatContext } from '~/Providers';
|
||||
import store from '~/store';
|
||||
|
||||
const threshold = 0.14;
|
||||
const debounceRate = 250;
|
||||
const threshold = 0.85;
|
||||
const debounceRate = 150;
|
||||
|
||||
export default function useMessageScrolling(messagesTree?: TMessage[] | null) {
|
||||
const autoScroll = useRecoilValue(store.autoScroll);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue