Make subject row in split screen sticky

pull/9599/head
Henriette Darge 3 years ago
parent 090199946c
commit 37742556a0
  1. 5
      frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view.html
  2. 19
      frontend/src/global_styles/layout/work_packages/_details_view.sass

@ -8,7 +8,10 @@
<wp-breadcrumb [workPackage]="workPackage"></wp-breadcrumb> <wp-breadcrumb [workPackage]="workPackage"></wp-breadcrumb>
<edit-form [resource]="workPackage"> <edit-form
[resource]="workPackage"
class="work-packages--details-form"
>
<div class="wp-show--header-container"> <div class="wp-show--header-container">
<op-back-button *ngIf="showBackButton()" <op-back-button *ngIf="showBackButton()"
linkClass="work-packages-back-button" linkClass="work-packages-back-button"

@ -76,15 +76,14 @@ body.router--work-packages-partitioned-split-view-new
margin: .5rem .5rem 0 0 margin: .5rem .5rem 0 0
.work-packages--details-content .work-packages--details-content
display: flex
flex-direction: column
position: absolute position: absolute
top: 50px top: 50px
bottom: 55px bottom: 55px
width: 100% width: 100%
overflow-x: hidden overflow: hidden
overflow-y: scroll padding: 0 5px 10px 20px
padding: 0 5px 0 20px
@include styled-scroll-bar
.work-packages--details .work-packages--details
@ -110,6 +109,16 @@ body.router--work-packages-partitioned-split-view-new
padding: 5px 0 5px 5px padding: 5px 0 5px 5px
font-size: 18px font-size: 18px
.work-packages--details-form
display: flex
flex-direction: column
overflow: hidden
.work-package-details-tab
overflow-y: auto
overflow-x: hidden
@include styled-scroll-bar
.work-packages--type-selector .work-packages--type-selector
flex-shrink: 0 flex-shrink: 0

Loading…
Cancel
Save