From 7d4e7e524f2a32946496591974ced329dd17cd49 Mon Sep 17 00:00:00 2001 From: Christian Bartels Date: Mon, 5 May 2014 13:20:18 +0200 Subject: [PATCH 1/2] Update variabless.less Make paths for different icon formats more flexible --- less/variabless.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/less/variabless.less b/less/variabless.less index 75a828f45..8b76f199d 100644 --- a/less/variabless.less +++ b/less/variabless.less @@ -1 +1,3 @@ @flag-icon-css-path: '../flags'; +@flag-icon-rect-path: '/4x3'; +@flag-icon-square-path: '/1x1'; From 59779c8551c706cffb9c90ae51b8db0f8ff63e9e Mon Sep 17 00:00:00 2001 From: Christian Bartels Date: Mon, 5 May 2014 13:21:28 +0200 Subject: [PATCH 2/2] Update flag-icon-base.less Make paths for different icon formats more flexible --- less/flag-icon-base.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/less/flag-icon-base.less b/less/flag-icon-base.less index c571ff9a5..b2a99539c 100644 --- a/less/flag-icon-base.less +++ b/less/flag-icon-base.less @@ -20,9 +20,9 @@ .flag-icon(@country) { .flag-icon-@{country} { - background-image: ~"url(@{flag-icon-css-path}/4x3/@{country}.svg)"; + background-image: ~"url(@{flag-icon-css-path}@{flag-icon-rect-path}/@{country}.svg)"; &.flag-icon-squared { - background-image: ~"url(@{flag-icon-css-path}/1x1/@{country}.svg)"; + background-image: ~"url(@{flag-icon-css-path}@{flag-icon-square-path}/@{country}.svg)"; } } }