Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Commit

Permalink
Added ellipsis for long descriptions on list view checklists (#1043)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackbaud-TrevorBurch authored and Blackbaud-SteveBrush committed Sep 7, 2017
1 parent 3cf8a47 commit 028d04d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,15 @@
flex: 1;
position: relative;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
padding-left: $sky-padding;

div {
overflow: hidden;
text-overflow: ellipsis;
}

}

/deep/ .sky-list-view-checklist-single-button {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,12 @@
[checked]="itemSelected(item.id) | async"
(change)="setItemSelection(item, $event)">
<sky-checkbox-label>
<div class="sky-emphasized" *ngIf="item.label">{{item.label}}</div>
<div *ngIf="item.description">{{item.description}}</div>
<div class="sky-emphasized" *ngIf="item.label" [attr.title]="item.label">
{{item.label}}
</div>
<div *ngIf="item.description" [attr.title]="item.description">
{{item.description}}
</div>
</sky-checkbox-label>
</sky-checkbox>
</sky-list-view-checklist-item>
Expand Down

0 comments on commit 028d04d

Please sign in to comment.