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

Move code to correct file and make card view scrollable again

Henriette Dinger44cabc56bd17
diff --git a/frontend/src/app/modules/work_packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass b/frontend/src/app/modules/work_packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
index 6f518523124..25c336524e7 100644
--- a/frontend/src/app/modules/work_packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
+++ b/frontend/src/app/modules/work_packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
@@ -1,17 +1,3 @@
-@import "helpers"
-
-
-.work-packages--card-view-container
- width: 100%
- overflow: auto
- padding-bottom: 5px
- @include styled-scroll-bar
-
- @media screen and (max-width: 659px)
- // Ensure the WP cards span the complete width on mobile
- // --> Move scrollbar out of visible area
- min-width: calc(100vw + 10px)
-
.work-packages-partitioned-query-space--container
height: 100%
overflow: hidden
diff --git a/frontend/src/app/modules/work_packages/routing/wp-list-view/wp-list-view.component.sass b/frontend/src/app/modules/work_packages/routing/wp-list-view/wp-list-view.component.sass
index 6c90569c823..cb36e2397e3 100644
--- a/frontend/src/app/modules/work_packages/routing/wp-list-view/wp-list-view.component.sass
+++ b/frontend/src/app/modules/work_packages/routing/wp-list-view/wp-list-view.component.sass
@@ -4,3 +4,14 @@
@include overlay-background
background-color: #FFFFFF
opacity: 0.5
+
+.work-packages--card-view-container
+ width: 100%
+ overflow: auto
+ padding-bottom: 5px
+ @include styled-scroll-bar
+
+ @media screen and (max-width: 659px)
+ // Ensure the WP cards span the complete width on mobile
+ // --> Move scrollbar out of visible area
+ min-width: calc(100vw + 10px)