mirror of
https://github.com/lipis/flag-icons.git
synced 2026-04-26 09:25:50 +03:00
[PR #950] [MERGED] Make Unknown flag (xx) as the first flag in flag list #1126
Labels
No labels
3rd-party
3rd-party
bug
code
documentation
enhancement
fixed-in-master
flag-request
help needed
missing-flag
missing-flag
pull-request
wrong-flag
wrong-flag
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flag-icons#1126
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/lipis/flag-icons/pull/950
Author: @colinj
Created: 4/3/2022
Status: ✅ Merged
Merged: 4/6/2022
Merged by: @lipis
Base:
main← Head:reorder-flag-icons📝 Commits (1)
764d114Make Unknown flag (xx) as first flag in flag list📊 Changes
3 files changed (+2 additions, -2 deletions)
View changed files
📝
less/flag-icons-list.less(+1 -0)📝
less/flag-icons-more.less(+0 -1)📝
sass/_flag-icons-list.scss(+1 -1)📄 Description
Make Unknown (xx) flag as the first flag so that all other flag icons will have CSS precedence over the Unknown flag.
This will allow all other defined flags to override the Unknown flag. The Unknown flag will only be displayed if it is used against a non-existent flag icon class (eg
fi-vb). In this scenario, the Unknown flag will become the fallback flag icon since non-existent country flag icon class will not exist.This PR fixes Issue #940
Fixes #940
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.