Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(workItemCell): fix titile truncate for query page
Browse files Browse the repository at this point in the history
  • Loading branch information
sahil143 authored and sudsen committed Aug 23, 2018
1 parent 51bacb6 commit f986f75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,21 @@
<!-- Title -->
<div class="width-100"
*ngIf="col === 'title'">
<div
[class.wi-detail-title]="context === 'list'"
[class.wi-detail-query-title]="context === 'query'">
<div class="wi-detail-title">
<p class="truncate pointer margin-0"
[class.bold]="row.bold"
[innerHTML]="row.title"
(click)="onPreview($event, row)"></p>
</div>
<div class="dib text-right wi-detail-icon">
<span *ngIf="context ==='query' && row.hasChildren"
class="fa fa-angle-right bold padding-v-5 pointer"
class="fa fa-angle-right margin-left-10 bold padding-v-5 pointer"
(click)="onExploration(row)"></span>
<span *ngIf="context ==='query' && !row.hasChildren"
class="fa fa-angle-right icon__disabled padding-v-5 pointer"
class="fa fa-angle-right margin-left-10 icon__disabled padding-v-5 pointer"
style="cursor: not-allowed"
></span>
<a class="fa fa-list-alt margin-left-20 padding-v-5 pointer"
<a class="fa fa-list-alt margin-left-15 padding-v-5 pointer"
placement="right"
tooltip="Open Detail View"
[routerLink]="context === 'list' ? ['detail', row.number] : ['../', 'detail', row.number]"></a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
width: ~"calc(e('100% - 20px'))"; // lesshint-disable-line
}

.wi-detail-query-title {
display: inline-flex;
width: ~"calc(e('100% - 50px'))"; // lesshint-disable-line
}

.wi-detail-icon {
width: 20px;
opacity: 0;
Expand Down

0 comments on commit f986f75

Please sign in to comment.