浏览代码

Improved comment.

dkonopka 6 年之前
父节点
当前提交
0657f3a09d
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      packages/ckeditor5-theme-lark/theme/ckeditor5-ui/components/list/list.css

+ 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%;