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

Use default font color when hovering a WP table row so ensure it is always readable (see #57412)

Henriette Dargef8b2e1686a04
diff --git a/frontend/src/global_styles/layout/work_packages/_table.sass b/frontend/src/global_styles/layout/work_packages/_table.sass
index 1312c079b19..920b12bc05a 100644
--- a/frontend/src/global_styles/layout/work_packages/_table.sass
+++ b/frontend/src/global_styles/layout/work_packages/_table.sass
@@ -71,7 +71,8 @@ body[class*="router--"]
div.row-hovered
// Use important to override the background styles from __hl classes
// That also have to be important (cf. 30863)
- background: var(--bgColor-neutral-muted) !important
+ background: var(--codeMirror-selection-bgColor) !important
+ color: var(--body-font-color) !important
&.-checked
background-color: hsl(from var(--codeMirror-selection-bgColor) h calc(s - 30) l) !important