8
0
Просмотр исходного кода

Added a transparent border to all buttons to prevent flickering when the focus border shows up.

Aleksander Nowodzinski 8 лет назад
Родитель
Сommit
a8b956ee22

+ 3 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/button/button.css

@@ -31,6 +31,9 @@ a.ck-button {
 	/* Enable font size inheritance, which allows fluid UI scaling. */
 	font-size: inherit;
 
+	/* Avoid flickering when the foucs border shows up. */
+	border: 1px solid transparent;
+
 	&:focus {
 		@mixin ck-focus-ring;
 		@mixin ck-box-shadow var(--ck-focus-outer-shadow);