Skip to content

fix: add font fallback for form controls#5618

Open
markov12 wants to merge 2 commits into
Mintplex-Labs:masterfrom
markov12:fix-form-control-font-fallback
Open

fix: add font fallback for form controls#5618
markov12 wants to merge 2 commits into
Mintplex-Labs:masterfrom
markov12:fix-form-control-font-fallback

Conversation

@markov12
Copy link
Copy Markdown

@markov12 markov12 commented May 12, 2026

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant