8
0
dkonopka 6 лет назад
Родитель
Сommit
0657f3a09d

+ 6 - 6
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/list/list.css

@@ -98,12 +98,6 @@
 	}
 }
 
-/*
- * Let's hide the native checkbox and make a fancy one.
- *
- * Note: Checkbox element cannot be hidden using `display: none` or `visibility: hidden`.
- * It has to be clickable to not steal the focus after clicking on it.
- */
 .ck .todo-list__checkmark {
 	cursor: pointer;
 	width: var(--ck-todo-list-checkmark-size);
@@ -141,6 +135,12 @@
 		}
 	}
 
+	/*
+	* Let's hide the native checkbox and use a fancy one (above styles).
+	*
+	* Note: Checkbox element cannot be hidden using `display: none` or `visibility: hidden`.
+	* It has to be clickable to not steal the focus after clicking on it.
+	*/
 	& input[type='checkbox'] {
 		width: 100%;
 		height: 100%;