Kaynağa Gözat

Fixed: ck-focus-shadow mixin in Firefox.

Aleksander Nowodzinski 9 yıl önce
ebeveyn
işleme
999ac5f70d

+ 4 - 0
packages/ckeditor5-theme-lark/theme/helpers/_states.scss

@@ -16,7 +16,11 @@
  */
 @mixin ck-focus-shadow() {
 	&:focus {
+		outline: thin dotted;
 		outline: 5px auto -webkit-focus-ring-color;
+
+		// To avoid collision with border in Firefox.
+		outline-offset: -2px;
 	}
 }