Преглед изворни кода

Internal: Fixed stylelint errors.

Aleksander Nowodzinski пре 6 година
родитељ
комит
12969972d1
1 измењених фајлова са 12 додато и 16 уклоњено
  1. 12 16
      packages/ckeditor5-list/theme/todolist.css

+ 12 - 16
packages/ckeditor5-list/theme/todolist.css

@@ -7,22 +7,6 @@
 	--ck-todo-list-checkmark-size: 16px;
 	--ck-todo-list-checkmark-size: 16px;
 }
 }
 
 
-/*
- * To-do list should be interactive only during the editing
- * (https://github.com/ckeditor/ckeditor5/issues/2090).
- */
-.ck-editor__editable .todo-list {
-	& .todo-list__label {
-		& > input {
-			cursor: pointer;
-
-			&:hover::before {
-				box-shadow: 0 0 0 5px hsla(0, 0%, 0%, 0.1);
-			}
-		}
-	}
-}
-
 .ck-content .todo-list {
 .ck-content .todo-list {
 	list-style: none;
 	list-style: none;
 
 
@@ -107,3 +91,15 @@
 	right: -25px;
 	right: -25px;
 	margin-left: -15px;
 	margin-left: -15px;
 }
 }
+
+/*
+ * To-do list should be interactive only during the editing
+ * (https://github.com/ckeditor/ckeditor5/issues/2090).
+ */
+.ck-editor__editable .todo-list .todo-list__label > input {
+	cursor: pointer;
+
+	&:hover::before {
+		box-shadow: 0 0 0 5px hsla(0, 0%, 0%, 0.1);
+	}
+}