Address Language Dropdown & Search Narrow Display Issue + Farsi Font Update #2057
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request addresses two user interface issues:
Language Dropdown and Search Box in Narrow Display: Fixes the issue reported in #2035 and #1944 where the language dropdown menu (and search box) become inaccessible on narrow displays.
Farsi Font Update: Updates the Farsi font to the open-source Vazirmatn from Google Fonts. This improves compatibility and potentially resolves issues encountered with previous Vazir font implementations.
PS:
The PR has been updated to resolve an issue affecting the dark/light menu on medium and small screens. The updated code ensures consistent menu functionality across all screen dimensions:
Demo: https://deploy-preview-2057--docsydocs.netlify.app/
Multi-lingual demo: https://rdrp.ir
Before:
After:
Farsi Font correction + Dropdown menu