Procházet zdrojové kódy

Made .ck-hidden class use !important to avoid specificity conflicts.

Aleksander Nowodzinski před 8 roky
rodič
revize
e30b46a025

+ 3 - 1
packages/ckeditor5-ui/theme/helpers/_states.scss

@@ -14,5 +14,7 @@
  * A class which hides an element in DOM.
  */
 .ck-hidden {
-	display: none;
+	// Override selector specificity. Otherwise, all elements with some display
+	// style defined will override this one, which is not a desired result.
+	display: none !important;
 }