mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-24 20:30:13 +01:00
* fix: reapply chat font size on load * refactor: streamline font size handling in localStorage * fix: update matchMedia mock to accurately reflect desktop and touchscreen capabilities * refactor: implement Jotai for font size management and initialize on app load - Replaced Recoil with Jotai for font size state management across components. - Added a new `fontSize` atom to handle font size changes and persist them in localStorage. - Implemented `initializeFontSize` function to apply saved font size on app load. - Updated relevant components to utilize the new font size atom. --------- Co-authored-by: ddooochii <ddooochii@gmail.com> Co-authored-by: Danny Avila <danny@librechat.ai> |
||
|---|---|---|
| .. | ||
| agents.ts | ||
| artifacts.ts | ||
| endpoints.ts | ||
| families.ts | ||
| fontSize.ts | ||
| index.ts | ||
| language.ts | ||
| mcp.ts | ||
| misc.ts | ||
| preset.ts | ||
| prompts.ts | ||
| search.ts | ||
| settings.ts | ||
| submission.ts | ||
| temporary.ts | ||
| text.ts | ||
| toast.ts | ||
| user.ts | ||
| utils.ts | ||