8
0
Quellcode durchsuchen

Fix: The main toolbar should always stay on top of contextual UI elements. Closes ckeditor/ckeditor5#6220.

Aleksander Nowodzinski vor 5 Jahren
Ursprung
Commit
7da2b4e1e0
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
  1. 4 1
      packages/ckeditor5-editor-classic/theme/classiceditor.css

+ 4 - 1
packages/ckeditor5-editor-classic/theme/classiceditor.css

@@ -11,6 +11,9 @@
 
 	& .ck-editor__top .ck-sticky-panel .ck-toolbar {
 		/* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */
-		z-index: var(--ck-z-modal);
+		/* https://github.com/ckeditor/ckeditor5/issues/6220 */
+		z-index: calc(var(--ck-z-modal) + 1);
+
+		position: relative;
 	}
 }