8
0
Просмотр исходного кода

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

Aleksander Nowodzinski 8 лет назад
Родитель
Сommit
e30b46a025
1 измененных файлов с 3 добавлено и 1 удалено
  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;
 }