Skip to content

Commit

Permalink
Fix prerender task
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion committed Sep 7, 2017
1 parent 79449a8 commit f494bae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/slide-toggle/slide-toggle.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<label class="mat-slide-toggle-label" #label>

<div class="mat-slide-toggle-bar"
[class.mat-slide-toggle-bar-no-side-margin]="!labelContent.textContent.trim()">
[class.mat-slide-toggle-bar-no-side-margin]="!checkboxLabel.textContent || !labelContent.textContent.trim()">

<input #input class="mat-slide-toggle-input cdk-visually-hidden" type="checkbox"
[id]="inputId"
Expand Down

0 comments on commit f494bae

Please sign in to comment.