浏览代码

Merge pull request #7893 from ckeditor/i/7874

Fix (ui): Dropdown panels from the editor's main toolbar should always float above the contextual balloons from the editor's content. Closes #7874.
Aleksander Nowodzinski 5 年之前
父节点
当前提交
57d3f02958
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      packages/ckeditor5-ui/theme/components/dropdown/dropdown.css

+ 8 - 0
packages/ckeditor5-ui/theme/components/dropdown/dropdown.css

@@ -65,3 +65,11 @@
 		}
 	}
 }
+
+/*
+ * Toolbar dropdown panels should be always above the UI (eg. other dropdown panels) from the editor's content.
+ * See https://github.com/ckeditor/ckeditor5/issues/7874
+ */
+.ck.ck-toolbar .ck-dropdown__panel {
+	z-index: calc( var(--ck-z-modal) + 1 );
+}