浏览代码

Merge pull request #6 from ckeditor/t/5

t/5: Icons do not inherit cursor style.
Szymon Cofalik 9 年之前
父节点
当前提交
4287865b91
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 6 5
      packages/ckeditor5-theme-lark/theme/components/icon.scss

+ 6 - 5
packages/ckeditor5-theme-lark/theme/components/icon.scss

@@ -28,6 +28,9 @@ $ck-icon-size: 20px;
 	vertical-align: middle;
 	color: inherit;
 
+	// Inherit cursor style (#5).
+	cursor: inherit;
+
 	&-left {
 		float: left;
 		margin-right: ck-spacing( 'small' );
@@ -39,14 +42,12 @@ $ck-icon-size: 20px;
 	}
 
 	* {
+		// Inherit cursor style (#5).
+		cursor: inherit;
+
 		// Allows dynamic coloring of the icons.
 		color: inherit;
 		// Needed by FF.
 		fill: currentColor;
 	}
-
-	use {
-		width: $ck-icon-size;
-		height: $ck-icon-size;
-	}
 }