mirror of
https://github.com/plankanban/planka.git
synced 2026-03-01 11:21:46 +03:00
[PR #1175] [CLOSED] Improve language selector: unified SVG flags and reliable rendering #1214
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/1175
Author: @symonbaikov
Created: 6/5/2025
Status: ❌ Closed
Base:
master← Head:master📝 Commits (4)
e14795cfeat: use react-world-flags for language selector and unify flag styles5906e66Merge branch 'plankanban:master' into master0177a6fchore: remove react-world-flags dependency and update flag rendering82b5035Merge branch 'plankanban:master' into master📊 Changes
3 files changed (+50 additions, -5 deletions)
View changed files
📝
client/package-lock.json(+22 -3)📝
client/src/components/users/UserSettingsModal/AccountPane/AccountPane.jsx(+16 -2)➕
client/src/components/users/UserSettingsModal/LocaleFlag.module.scss(+12 -0)📄 Description
This PR improves the language selector in the user settings modal:
Switched from Semantic UI flag icons to react-world-flags for reliable, high-quality SVG country flags.
Added a dedicated SCSS module to ensure all flags have a consistent size, aspect ratio, and perfect vertical alignment with language names.
All flags are now visually unified, centered, and look professional in the dropdown.
Removed legacy flag-icons integration and related code.
Improved user experience and visual consistency across all supported languages.
Screenshots attached to demonstrate the new look and alignment.
Before:

After:

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