Browse Source

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

Aleksander Nowodzinski 5 years ago
parent
commit
7da2b4e1e0
1 changed files with 4 additions and 1 deletions
  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;
 	}
 }