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
Create a full height split screen
Henriette Darge4ebf649be3b7
diff --git a/app/components/work_packages/details/tab_component.sass b/app/components/work_packages/details/tab_component.sassindex b824867ad16..23c2a467bf4 100644--- a/app/components/work_packages/details/tab_component.sass+++ b/app/components/work_packages/details/tab_component.sass@@ -13,4 +13,4 @@border-bottom: 1px solid var(--borderColor-muted)&:last-of-type- padding-right: 8px+ padding-right: 10pxdiff --git a/app/components/work_packages/split_view_component.sass b/app/components/work_packages/split_view_component.sassindex 3aaad25c859..2d344e5ab61 100644--- a/app/components/work_packages/split_view_component.sass+++ b/app/components/work_packages/split_view_component.sass@@ -3,8 +3,3 @@width: 550pxjustify-content: space-aroundborder-left: 1px solid var(--borderColor-muted)- border-top: 1px solid var(--borderColor-muted)- border-right: 1px solid var(--borderColor-muted)-- border-top-left-radius: var(--borderRadius-medium)- border-top-right-radius: var(--borderRadius-medium)diff --git a/frontend/src/global_styles/common/header/app-header.sass b/frontend/src/global_styles/common/header/app-header.sassindex 363b2278372..28c081a03a1 100644--- a/frontend/src/global_styles/common/header/app-header.sass+++ b/frontend/src/global_styles/common/header/app-header.sass@@ -12,7 +12,6 @@border-bottom-width: var(--header-border-bottom-width)border-bottom-color: var(--header-border-bottom-color)width: 100vw- padding: 0 $spot-spacing-0_25@media screen and (max-width: $breakpoint-sm)grid-template-columns: minmax(0, auto) auto 1frdiff --git a/frontend/src/global_styles/layout/_base.sass b/frontend/src/global_styles/layout/_base.sassindex 2c7a1188418..28b84ef6f32 100644--- a/frontend/src/global_styles/layout/_base.sass+++ b/frontend/src/global_styles/layout/_base.sass@@ -60,12 +60,12 @@// The content is structured as grid and should ideally look like this// ---------------------------------------------------------// | content-header |-// --------------------------------------------------------+// | content-header | |+// ---------------------------------------| |// | | |// | | |// | | |-// | content-body | content- |+// | content-body | content- |// | | bodyRight |// | | |// | | |@@ -74,7 +74,7 @@// This layout is designed to show the WP split screen on any rails page.// Because of that, there are three things to keep in mind-// 1. The content-bodyRight is optional. If it is not shown, the content-body should fill the available space.+// 1. The content-bodyRight is optional. If it is not shown, the content-body and content-header should fill the available space.// 2. The WP split screen requires a 100% layout, meaning that the content-bodyRight needs to be// "glued" to the right side and the bottom of the screen without any additional paddings or margins.// 3. Not all pages already follow that desired structure. Older pages render all their content inside content-body.@@ -84,15 +84,15 @@// Instead the children elements have to do that themselves depending on which elements are present$top-space: 10px-$right-space: 20px+$right-space: 16px$bottom-space: 10px-$left-space: 20px+$left-space: 16px#contentdisplay: gridgrid-template-columns: 1fr autogrid-template-rows: auto 1fr- grid-template-areas: "header header" "body bodyRight"+ grid-template-areas: "header bodyRight" "body bodyRight"padding: 0margin: 0width: 100%@@ -114,6 +114,7 @@ $left-space: 20px#content-bodygrid-area: bodypadding-bottom: $bottom-space+ padding-right: $right-spacepadding-left: $left-space// Limit the width of the body to the container around itoverflow-x: hidden@@ -130,7 +131,7 @@ $left-space: 20px#content-bodyRightgrid-area: bodyRight- padding: 0 $right-space 0 0+ padding: 0overflow: auto@include styled-scroll-bardiff --git a/frontend/src/global_styles/layout/work_packages/_details_view.sass b/frontend/src/global_styles/layout/work_packages/_details_view.sassindex c5a987d42e8..630d6ef153f 100644--- a/frontend/src/global_styles/layout/work_packages/_details_view.sass+++ b/frontend/src/global_styles/layout/work_packages/_details_view.sass@@ -83,6 +83,12 @@ body.router--work-packages-partitioned-split-view-new&_no-tabstop: 0+ .work-package-details-tab,+ .work-packages--details-header+ // With the primerized tabs we need a different alignment+ padding-right: 16px+ padding-left: 16px+&.-create-modepadding: 0 5px 10px 20px@@ -110,7 +116,6 @@ body.router--work-packages-partitioned-split-view-new.work-packages--details-header-leftdisplay: flexflex-direction: column- margin-right: 4pxmax-width: 100%flex-basis: 100%flex-shrink: 1diff --git a/frontend/src/global_styles/openproject/_mixins.sass b/frontend/src/global_styles/openproject/_mixins.sassindex 8abd9b9b9f8..5d3debebcd0 100644--- a/frontend/src/global_styles/openproject/_mixins.sass+++ b/frontend/src/global_styles/openproject/_mixins.sass@@ -245,10 +245,6 @@ $scrollbar-size: 10px.work-packages--filters-optional-containermargin-right: 15px-@mixin space-between-content-and-split-screen- #content-bodyRight > *- margin-left: 12px-@mixin modifying--placeholderborder: 1px dashed var(--accent-color)pointer-events: nonediff --git a/frontend/src/global_styles/openproject/_notifications.sass b/frontend/src/global_styles/openproject/_notifications.sassindex d27b5e8c79d..8b3f3c50383 100644--- a/frontend/src/global_styles/openproject/_notifications.sass+++ b/frontend/src/global_styles/openproject/_notifications.sass@@ -28,7 +28,6 @@.controller-notifications@include extended-content--bottom- @include space-between-content-and-split-screen#contentheight: 100%diff --git a/frontend/src/global_styles/primer/_overrides.sass b/frontend/src/global_styles/primer/_overrides.sassindex a953272554e..e74b5c0e269 100644--- a/frontend/src/global_styles/primer/_overrides.sass+++ b/frontend/src/global_styles/primer/_overrides.sass@@ -53,7 +53,7 @@ action-menumargin-left: 12px&.op-primer-adjustment--UnderlineNav_spaciousLeft- padding-left: 12px+ padding-left: 8px/* Remove margin-left: 2rem from Breadcrumbs */#breadcrumb,