Kaynağa Gözat

Extract --ck-mention-list-max-height CSS variable to control height of mentions view.

Maciej Gołaszewski 6 yıl önce
ebeveyn
işleme
961b368503

+ 5 - 1
packages/ckeditor5-mention/theme/mentionui.css

@@ -3,8 +3,12 @@
  * For licensing, see LICENSE.md.
  */
 
+:root {
+	--ck-mention-list-max-height: 300px;
+}
+
 .ck.ck-mentions {
-	max-height: 300px;
+	max-height: var(--ck-mention-list-max-height);
 
 	overflow-y: auto;