Explorar el Código

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

Aleksander Nowodzinski hace 8 años
padre
commit
e30b46a025
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      packages/ckeditor5-ui/theme/helpers/_states.scss

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