Explorar el Código

Enlarged link highlight background.

Damian Konopka hace 7 años
padre
commit
1c5b004937
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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);
+	}
 }