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 separate class for the details view

Oliver Günther8c02b5fecda3
diff --git a/app/assets/stylesheets/layout/work_packages/_details_view.sass b/app/assets/stylesheets/layout/work_packages/_details_view.sass
index 1bd6a29bb8b..a5ed3fb18de 100644
--- a/app/assets/stylesheets/layout/work_packages/_details_view.sass
+++ b/app/assets/stylesheets/layout/work_packages/_details_view.sass
@@ -28,7 +28,7 @@
// Right part of the split view
// Visible only in the details ui-view
-body.router--work-packages-partitioned-split-view,
+body.router--work-packages-partitioned-split-view-details,
body.router--work-packages-partitioned-split-view-new
.work-packages-partitioned-page--content-right
diff --git a/frontend/src/app/modules/work_packages/routing/split-view-routes.template.ts b/frontend/src/app/modules/work_packages/routing/split-view-routes.template.ts
index 7276ba87e84..271fac247f8 100644
--- a/frontend/src/app/modules/work_packages/routing/split-view-routes.template.ts
+++ b/frontend/src/app/modules/work_packages/routing/split-view-routes.template.ts
@@ -64,7 +64,7 @@ export function makeSplitViewRoutes(baseRoute:string,
redirectTo: baseRoute + '.details.overview',
reloadOnSearch: false,
data: {
- bodyClasses: 'router--work-packages-partitioned-split-view',
+ bodyClasses: 'router--work-packages-partitioned-split-view-details',
menuItem: menuItemClass,
// Remember the base route so we can route back to it anywhere
baseRoute: baseRoute,