[PR #1129] [MERGED] fix: move xx back to the top of the CSS #1221

Closed
opened 2026-03-03 14:42:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/1129
Author: @tusbar
Created: 8/2/2023
Status: Merged
Merged: 8/2/2023
Merged by: @lipis

Base: mainHead: xx-first


📝 Commits (1)

  • 5af1352 fix: move xx back to the top of the CSS

📊 Changes

4 files changed (+13 additions, -9 deletions)

View changed files

📝 css/flag-icons.css (+6 -6)
📝 css/flag-icons.min.css (+1 -1)
📝 less/flag-icons-list.less (+3 -1)
📝 sass/_flag-icons-list.scss (+3 -1)

📄 Description

fi-xx is often used as a fallback, think of className={`fi fi-${code} fi-xx`}, when defined at the top of the CSS, it’ll always be overridden.

It used to be at the top, but was moved in #1122.


🔄 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/lipis/flag-icons/pull/1129 **Author:** [@tusbar](https://github.com/tusbar) **Created:** 8/2/2023 **Status:** ✅ Merged **Merged:** 8/2/2023 **Merged by:** [@lipis](https://github.com/lipis) **Base:** `main` ← **Head:** `xx-first` --- ### 📝 Commits (1) - [`5af1352`](https://github.com/lipis/flag-icons/commit/5af13525e649e32a4aa93f4630d8c1f95a33f896) fix: move xx back to the top of the CSS ### 📊 Changes **4 files changed** (+13 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `css/flag-icons.css` (+6 -6) 📝 `css/flag-icons.min.css` (+1 -1) 📝 `less/flag-icons-list.less` (+3 -1) 📝 `sass/_flag-icons-list.scss` (+3 -1) </details> ### 📄 Description fi-xx is often used as a fallback, think of ```className={`fi fi-${code} fi-xx`}```, when defined at the top of the CSS, it’ll always be overridden. It used to be at the top, but was moved in #1122. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 14:42:42 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#1221
No description provided.