Skip to content

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

fix bg color of header in ck editor

Behrokh Satarnejad8f24921112fa
diff --git a/frontend/src/global_styles/content/editor/_ckeditor.sass b/frontend/src/global_styles/content/editor/_ckeditor.sass
index ca6fd1962e9..2a2d656b8ce 100644
--- a/frontend/src/global_styles/content/editor/_ckeditor.sass
+++ b/frontend/src/global_styles/content/editor/_ckeditor.sass
@@ -41,6 +41,10 @@ ckeditor-augmented-textarea .op-ckeditor--wrapper
th[style^="width:"]
word-break: break-all
+ .table table th
+ border-color: var(--borderColor-muted) !important
+ background-color: var(--bgColor-neutral-muted) !important
+
.ck .ck-widget.op-ckeditor--code-block
// Display content as pre
white-space: pre-wrap
diff --git a/frontend/src/global_styles/content/user-content/_table.sass b/frontend/src/global_styles/content/user-content/_table.sass
index e487d958260..85a55ec3d9f 100644
--- a/frontend/src/global_styles/content/user-content/_table.sass
+++ b/frontend/src/global_styles/content/user-content/_table.sass
@@ -26,8 +26,9 @@
background: rgba(26, 103, 163, 0.05)
&_head
- background: var(--display-gray-bgColor-muted)
+ background: var(--bgColor-muted)
border-bottom: 1px solid var(--borderColor-default)
+ background-clip: padding-box
&.ck-editor__editable_selected
background: rgba(26, 103, 163, 0.1)