Jelajahi Sumber

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 tahun lalu
induk
melakukan
57d3f02958

+ 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 );
+}