From 6c704deebcdb837cd58440c347202f8c2283bd94 Mon Sep 17 00:00:00 2001 From: Matt Jenkins Date: Sun, 15 Nov 2015 01:05:15 +0000 Subject: [PATCH] Fix for flags with invalid country class Fix for #3260. When a flag has a missing or invalid country class name, render blank instead of showing the flag of Andorra. --- src/definitions/elements/flag.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions/elements/flag.less b/src/definitions/elements/flag.less index c789bf3c8..13142cf31 100755 --- a/src/definitions/elements/flag.less +++ b/src/definitions/elements/flag.less @@ -45,7 +45,7 @@ i.flag:not(.icon) { i.flag:not(.icon):before { display: inline-block; content: ''; - background: url(@spritePath) no-repeat 0px 0px; + background: url(@spritePath) no-repeat -108px -1976px; width: @width; height: @height; }