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

[#40267] replaced component selector with body class

Eric Schubert8d214a09b677
diff --git a/frontend/src/app/features/bim/ifc_models/openproject-ifc-models.routes.ts b/frontend/src/app/features/bim/ifc_models/openproject-ifc-models.routes.ts
index 2dab6bf0893..2e57442de06 100644
--- a/frontend/src/app/features/bim/ifc_models/openproject-ifc-models.routes.ts
+++ b/frontend/src/app/features/bim/ifc_models/openproject-ifc-models.routes.ts
@@ -56,6 +56,9 @@ export const IFC_ROUTES:Ng2StateDeclaration[] = [
redirectTo: 'bim.partitioned.list',
url: '',
component: IFCViewerPageComponent,
+ data: {
+ bodyClasses: 'router--bim',
+ },
},
{
name: 'bim.partitioned.list',
diff --git a/frontend/src/global_styles/layout/work_packages/_details_view.sass b/frontend/src/global_styles/layout/work_packages/_details_view.sass
index 7601920a431..13c47699617 100644
--- a/frontend/src/global_styles/layout/work_packages/_details_view.sass
+++ b/frontend/src/global_styles/layout/work_packages/_details_view.sass
@@ -50,7 +50,7 @@ body.router--work-packages-partitioned-split-view-new
// Special handling for BCF module, which actually displays the details even on a mobile screen
@media only screen and (max-width: 679px)
- op-ifc-viewer-page &
+ .router--bim &
min-width: 0
@media only screen and (max-width: 1280px)