Semantic-Org / Semantic-UI

Semantic is a UI component framework based around useful principles from natural language.
http://www.semantic-ui.com
MIT License
51.09k stars 4.95k forks source link

Missing Flag for country Kosovo #6996

Open mhou1981 opened 4 years ago

mhou1981 commented 4 years ago

Missing Country Kosovo Flag in the Semantic-UI Flag Icon Function

Looks like the country of the Kosovo is missing from the default flag icon.

Steps

Add the following for the Kosovo country flag: <i class="xk flag"></i>

Expected Result

Kosovo Flag to be displayed

Actual Result

No flag displayed

Version

2.4

hellokuls commented 4 years ago

Me too, it can't displayed

hellokuls commented 4 years ago

Did you solve it @mhou1981

lubber-de commented 4 years ago

The active community fork Fomantic-UI has got all missing flags as part of the emoji component https://fomantic-ui.com/elements/emoji.html

For version 2.9 the sprite flags are going to be replaced by the same SVG icons, so every missing country code flag will be supported while the syntax stays backward compatible https://github.com/fomantic/Fomantic-UI/pull/1190

See your missing flag here https://jsfiddle.net/lubber/nyapwr9L/2/

hellokuls commented 4 years ago

I find the error, it maybe your path like font path, icon path is wrong in semantic.min.css or semantic.min.css file.