8
0
Просмотр исходного кода

Don't set fill for icons that set declare it

Only override the fill for elements that don't declare one.
Fixes #206
Michael Jeffrey 7 лет назад
Родитель
Сommit
48a766f5de
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/icon/icon.css

+ 4 - 2
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/icon/icon.css

@@ -29,7 +29,9 @@
 		/* Allows dynamic coloring of the icons. */
 		/* Allows dynamic coloring of the icons. */
 		color: inherit;
 		color: inherit;
 
 
-		/* Needed by FF. */
-		fill: currentColor;
+		:not([fill]) {
+				/* Needed by FF. */
+				fill: currentColor;
+		}
 	}
 	}
 }
 }