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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Let the split screen span the complete space (vertically and horizontally) when opened on small screens
Henriette Darge0db9ffdf8036
diff --git a/app/components/work_packages/split_view_component.sass b/app/components/work_packages/split_view_component.sassindex 2d344e5ab61..7aad3bdcbeb 100644--- a/app/components/work_packages/split_view_component.sass+++ b/app/components/work_packages/split_view_component.sass@@ -3,3 +3,7 @@width: 550pxjustify-content: space-aroundborder-left: 1px solid var(--borderColor-muted)++ @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 !importantdiff --git a/frontend/src/global_styles/layout/_base_mobile.sass b/frontend/src/global_styles/layout/_base_mobile.sassindex 99154fe5975..f3b97b162ad 100644--- a/frontend/src/global_styles/layout/_base_mobile.sass+++ b/frontend/src/global_styles/layout/_base_mobile.sass@@ -66,9 +66,6 @@padding-left: 15pxpadding-right: 15px- #content-bodyRight- display: none-#maingrid-template-columns: auto@@ -87,6 +84,14 @@.hidden-for-tabletdisplay: none !important+@media screen and (max-width: $breakpoint-lg)+ // 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+ grid-row: 1 / 3+ background-color: var(--body-background)+ z-index: 1+@media screen and (max-width: $breakpoint-lg) and (min-width: $breakpoint-sm).hidden-for-tablet-and-small-laptopsdisplay: none !importantdiff --git a/frontend/src/global_styles/layout/work_packages/_details_view.sass b/frontend/src/global_styles/layout/work_packages/_details_view.sassindex 630d6ef153f..6c387a04345 100644--- a/frontend/src/global_styles/layout/work_packages/_details_view.sass+++ b/frontend/src/global_styles/layout/work_packages/_details_view.sass@@ -45,8 +45,6 @@ body.router--work-packages-partitioned-split-view-newheight: 100%position: relativewidth: 100%- // Min-width is actually 530px but the border already needs 2px- min-width: 528px@media only screen and (max-width: $breakpoint-xl)@at-root