OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Reset sticky toolbars for editors inside Dialogs to avoid overlapping context
Henriette Darge86ef855f9b9a
diff --git a/frontend/src/global_styles/content/editor/_ckeditor.sass b/frontend/src/global_styles/content/editor/_ckeditor.sassindex 6c6b6b23af6..f090ac32d3c 100644--- a/frontend/src/global_styles/content/editor/_ckeditor.sass+++ b/frontend/src/global_styles/content/editor/_ckeditor.sass@@ -92,6 +92,13 @@ ckeditor-augmented-textarea .op-ckeditor--wrappertop: 0pxz-index: 2+ // Reset these styles explicitly when the editor is opened inside a Dialog, as position: sticky opens a separate stacking context.+ // In case the dialog has multiple editors below each other, these different context interfere and the paragraph dropdown of an editor will be behind the editor below it.+ // See: WP#53724+ dialog &+ position: initial+ z-index: auto+.ck.ck-toolbar.ck-rounded-cornersborder-bottom-left-radius: 0border-bottom-right-radius: 0@@ -112,5 +119,5 @@ ckeditor-augmented-textarea .op-ckeditor--wrappermargin-left: 0margin-right: 40px-.ck tr .ck-editor__nested-editable+.ck tr .ck-editor__nested-editableborder: 1px solid var(--ck-color-base-border)