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

Avoid that the mobile split screen overflows the screen due to the previously defined min-widths

Henriette Darge2b57bece13ee
diff --git a/app/components/work_packages/split_view_component.sass b/app/components/work_packages/split_view_component.sass
index 87e22c19c85..a6dfcb54e1b 100644
--- a/app/components/work_packages/split_view_component.sass
+++ b/app/components/work_packages/split_view_component.sass
@@ -6,4 +6,4 @@
@media screen and (max-width: $breakpoint-lg)
// Unfortunately, we have to enforce this style via !important as the resizer writes the width directly on the element as inline style
- width: unset !important
+ min-width: unset !important
diff --git a/frontend/src/global_styles/layout/_base_mobile.sass b/frontend/src/global_styles/layout/_base_mobile.sass
index f3b97b162ad..c99c1357f2d 100644
--- a/frontend/src/global_styles/layout/_base_mobile.sass
+++ b/frontend/src/global_styles/layout/_base_mobile.sass
@@ -85,6 +85,9 @@
display: none !important
@media screen and (max-width: $breakpoint-lg)
+ #content:has(#content-bodyRight > *)
+ grid-template-columns: 1fr auto
+
// As soon as the split screen has content (so basically when its opened), it takes the available whole space
#content-bodyRight:has(*)
grid-column: 1 / 3