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

when there is no result and we want to show the result box, there is no scroll so min-width can be auto and we should set padding to the left and right of the container of the no-result box

Behrokh Satarnejad11f06be32c24
diff --git a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
index b4661621c06..05be19054d0 100644
--- a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
+++ b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass
@@ -34,6 +34,8 @@
display: flex
overflow: auto
@include styled-scroll-bar
+ :has(.generic-table--no-results-container)
+ padding: 0 1rem 0 1rem
.work-packages-partitioned-page--content-left,
.work-packages-partitioned-page--content-right
diff --git a/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.sass b/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.sass
index c2552a0c472..479ecb49380 100644
--- a/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.sass
+++ b/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.sass
@@ -20,6 +20,8 @@
// Ensure the WP cards span the complete width on mobile
// --> Move scrollbar out of visible area
min-width: calc(100vw + 10px)
+ &:has(.generic-table--no-results-container)
+ min-width: auto
.work-packages-split-view--tabletimeline-container
display: flex