[PR #5618] [MERGED] fix: add font fallback for form controls #5498

Closed
opened 2026-06-05 15:21:32 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5618
Author: @markov12
Created: 5/12/2026
Status: Merged
Merged: 5/13/2026
Merged by: @timothycarambat

Base: masterHead: fix-form-control-font-fallback


📝 Commits (3)

  • ddb7fe0 fix: add font fallback for form controls
  • a86896b fix: restore complete index.css with font fallback
  • 2799172 move to end and mark important

📊 Changes

1 file changed (+24 additions, -0 deletions)

View changed files

📝 frontend/src/index.css (+24 -0)

📄 Description

Pull Request Type

  • feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Relevant Issues

N/A

Description

Adds a sans-serif fallback stack for form controls.

In the desktop app, Cyrillic text typed into the chat prompt field can render with a serif fallback font that looks like Times New Roman. The rest of the UI renders Cyrillic correctly because it has broader sans-serif fallbacks.

The bundled plus-jakarta-sans font does not reliably cover Cyrillic glyphs, so form controls should not rely on that font alone. With this change, Cyrillic input falls back to system sans-serif fonts instead of a serif font.

Visuals (if applicable)

N/A

Additional Information

This was reproduced in AnythingLLM Desktop v1.12.1 on macOS. The equivalent local CSS patch fixes Russian text rendering in the prompt input. Tested on mac m5 pro.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/5618 **Author:** [@markov12](https://github.com/markov12) **Created:** 5/12/2026 **Status:** ✅ Merged **Merged:** 5/13/2026 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `fix-form-control-font-fallback` --- ### 📝 Commits (3) - [`ddb7fe0`](https://github.com/Mintplex-Labs/anything-llm/commit/ddb7fe0685cd4ba3cf87263218f6a65352c61e2d) fix: add font fallback for form controls - [`a86896b`](https://github.com/Mintplex-Labs/anything-llm/commit/a86896b8e3671d8dbc3d766a6f56d3d7309e8865) fix: restore complete index.css with font fallback - [`2799172`](https://github.com/Mintplex-Labs/anything-llm/commit/279917254aa04a6e7cfe8018a2ad78493dd86aa2) move to end and mark important ### 📊 Changes **1 file changed** (+24 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/index.css` (+24 -0) </details> ### 📄 Description ### Pull Request Type - [ ] ✨ feat (New feature) - [x] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues N/A ### Description Adds a sans-serif fallback stack for form controls. In the desktop app, Cyrillic text typed into the chat prompt field can render with a serif fallback font that looks like Times New Roman. The rest of the UI renders Cyrillic correctly because it has broader sans-serif fallbacks. The bundled `plus-jakarta-sans` font does not reliably cover Cyrillic glyphs, so form controls should not rely on that font alone. With this change, Cyrillic input falls back to system sans-serif fonts instead of a serif font. ### Visuals (if applicable) N/A ### Additional Information This was reproduced in AnythingLLM Desktop v1.12.1 on macOS. The equivalent local CSS patch fixes Russian text rendering in the prompt input. Tested on mac m5 pro. ### Developer Validations - [ ] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated (if applicable) - [x] I have tested my code functionality - [ ] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 15:21:32 -04:00
yindo closed this issue 2026-06-05 15:21:32 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5498