Skip to content

Commit

Permalink
Update flag-icon-base.less
Browse files Browse the repository at this point in the history
Make paths for different icon formats more flexible
  • Loading branch information
bequadrat committed May 5, 2014
1 parent 7d4e7e5 commit 59779c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions less/flag-icon-base.less
Original file line number Diff line number Diff line change
Expand Up @@ -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)";
}
}
}

0 comments on commit 59779c8

Please sign in to comment.