From 658247428a11c207305b318938abb260e1236bfe Mon Sep 17 00:00:00 2001 From: sahil143 Date: Tue, 16 Oct 2018 14:59:58 +0530 Subject: [PATCH] fix(queryPage): add title truncate, fix workitem cell css --- .../planner-query/planner-query.component.less | 4 ++++ .../work-item-cell/work-item-cell.component.html | 6 +----- src/app/effects/work-item.effects.ts | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/components_ngrx/planner-query/planner-query.component.less b/src/app/components_ngrx/planner-query/planner-query.component.less index 2c1da311f..489aeb9ec 100644 --- a/src/app/components_ngrx/planner-query/planner-query.component.less +++ b/src/app/components_ngrx/planner-query/planner-query.component.less @@ -34,3 +34,7 @@ .current-query { color: @color-pf-blue-500; } + +work-item-cell { + max-width: ~'calc(e("100% - 20px"))'; +} diff --git a/src/app/components_ngrx/work-item-cell/work-item-cell.component.html b/src/app/components_ngrx/work-item-cell/work-item-cell.component.html index 28e24ad8c..2cad5f7de 100644 --- a/src/app/components_ngrx/work-item-cell/work-item-cell.component.html +++ b/src/app/components_ngrx/work-item-cell/work-item-cell.component.html @@ -30,18 +30,14 @@ [class.pointer]="row.hasChildren" [class.click-disable]="!row.hasChildren" (click)="onExploration(row)"> - - +
this.errHandler.handleError( @@ -323,7 +323,7 @@ export class WorkItemEffects { wp.state.space.links.self, workItem, reorderPayload.destinationWorkitemID, reorderPayload.direction ) : - ObservableOf(workitem); + of(workitem); }), map(w => { let wi = this.resolveWorkItems([w], wp.state)[0]; @@ -366,7 +366,7 @@ export class WorkItemEffects { const payload = wp.payload; const state = wp.state; if (state.workItems.nextLink == '') { - return Observable.of( + return of( new WorkItemActions.GetMoreWorkItemsSuccess({ workItems: [], nextLink: '' }) ); }