浏览代码

Merge pull request #207 from michaeldjeffrey/t/206

Fix: Only override the `fill` for icons that don't declare one. Closes #206.

Thanks to @michaeldjeffrey!
Piotrek Koszuliński 7 年之前
父节点
当前提交
d2689744bc
共有 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. */
 		color: inherit;
 
-		/* Needed by FF. */
-		fill: currentColor;
+		&:not([fill]) {
+				/* Needed by FF. */
+				fill: currentColor;
+		}
 	}
 }