Skip to content

Commit

Permalink
fix: wrap long text in the panels with checkboxes in the works section
Browse files Browse the repository at this point in the history
see the issue for details

fixes issue #1112
  • Loading branch information
DanielPalafox committed Sep 13, 2021
1 parent ce1cdd2 commit d056b36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/cdk/panel/panel/panel.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

<div *ngIf="selectable">
<mat-checkbox
class="text-wrap"
*ngIf="selectable && !isPublicRecord"
(change)="checked($event)"
[ngModel]="selected"
Expand Down
6 changes: 6 additions & 0 deletions src/app/cdk/panel/panel/panel.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,9 @@ div.hide:hover {
margin-top: 4px;
}
}

mat-checkbox.text-wrap {
::ng-deep label.mat-checkbox-layout {
white-space: normal;
}
}

0 comments on commit d056b36

Please sign in to comment.