Sfoglia il codice sorgente

Internal: Fix class selectors duplication in restricted editing styles

panr 6 anni fa
parent
commit
922ff1f415

+ 6 - 8
packages/ckeditor5-theme-lark/theme/ckeditor5-restricted-editing/restrictedediting.css

@@ -43,6 +43,12 @@
 }
 
 .ck-restricted-editing_mode_restricted .restricted-editing-exception {
+	cursor: text;
+
+	& * {
+		cursor: text;
+	}
+
 	&:hover {
 		background: var(--ck-color-restricted-editing-exception-hover-background);
 	}
@@ -56,11 +62,3 @@
 		cursor: default;
 	}
 }
-
-.ck-restricted-editing_mode_restricted .restricted-editing-exception {
-	cursor: text;
-
-	& * {
-		cursor: text;
-	}
-}