Parcourir la source

Enlarged link highlight background.

Damian Konopka il y a 7 ans
Parent
commit
1c5b004937
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  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);
+	}
 }