Avoid doubled and unnecessary scrollbars. For some reason, the left part of the partitioned space gets to wide. To avoid this, we prevent an overflow on the boards page.

pull/8230/head
Henriette Darge 5 years ago
parent eacfbe212d
commit bb255f1686
  1. 5
      frontend/src/app/modules/boards/board/board-partitioned-page/board-list-container.component.sass
  2. 2
      frontend/src/app/modules/boards/board/board-partitioned-page/board-partitioned-page.component.sass
  3. 3
      frontend/src/app/modules/boards/board/board-partitioned-page/board-partitioned-page.component.ts

@ -11,6 +11,7 @@ $board-list-max-width: 300px
// Make it scrollable // Make it scrollable
overflow-y: auto overflow-y: auto
@include styled-scroll-bar
.boards-list-item-handle .boards-list-item-handle
position: absolute position: absolute
@ -36,11 +37,13 @@ $board-list-max-width: 300px
// Same height as board list header // Same height as board list header
height: 42px height: 42px
line-height: 42px line-height: 42px
margin: 5px 0 0 15px
font-size: 14px font-size: 14px
cursor: pointer cursor: pointer
color: var(--gray-dark) color: var(--gray-dark)
.boards-list--add-item-text
padding: 5px 15px 0 15px
.boards-list--container.-free & .boards-list--container.-free &
margin-top: 0 margin-top: 0

@ -0,0 +1,2 @@
.work-packages-partitioned-page--content-left
overflow: hidden

@ -33,7 +33,8 @@ export function boardCardViewHandlerFactory(injector:Injector) {
@Component({ @Component({
templateUrl: '/app/modules/work_packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html', templateUrl: '/app/modules/work_packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html',
styleUrls: [ styleUrls: [
'/app/modules/work_packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass' '/app/modules/work_packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.sass',
'./board-partitioned-page.component.sass'
], ],
changeDetection: ChangeDetectionStrategy.OnPush, changeDetection: ChangeDetectionStrategy.OnPush,
providers: [ providers: [

Loading…
Cancel
Save