Commit 380bfc00 authored by Panayiotis Lipiridis's avatar Panayiotis Lipiridis
Browse files

Fallback white background for unsupported flags

parent bf0d0e51
Loading
Loading
Loading
Loading
+500 −0

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+3 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  background-color: #fff;
}

.flag-icon {
@@ -21,8 +22,10 @@
.flag-icon(@country) {
  .flag-icon-@{country} {
    background-image: ~"url(@{flag-icon-css-path}@{flag-icon-rect-path}/@{country}.svg)";
    background-color: transparent;
    &.flag-icon-squared {
      background-image: ~"url(@{flag-icon-css-path}@{flag-icon-square-path}/@{country}.svg)";
      background-color: transparent;
    }
  }
}