浏览代码

Enlarged link highlight background.

Damian Konopka 7 年之前
父节点
当前提交
1c5b004937
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      packages/ckeditor5-theme-lark/theme/ckeditor5-link/link.css

+ 6 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-link/link.css

@@ -6,4 +6,10 @@
 /* Class added to span element surrounding currently selected link. */
 .ck-link_selected {
 	background: var(--ck-color-link-selected-background);
+	outline: 1px solid var(--ck-color-link-selected-background);
+
+	/* #155. Let's keep the same background inside Highlight feature. */
+	& mark {
+		background: var(--ck-color-link-selected-background);
+	}
 }