Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
d2689744bc

+ 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;
+		}
 	}
 }