mirror of https://github.com/Squidex/squidex.git
3 changed files with 115 additions and 21 deletions
@ -1,9 +1,11 @@ |
|||||
<div class="form-check" *ngFor="let value of values"> |
<div #container (sqxResized)="updateContainerWidth($event.width)"> |
||||
<input type="checkbox" class="form-check-input" id="{{controlId}}{{value}}" |
<div class="form-check" [class.form-check-block]="!isSingleLine" [class.form-check-inline]="isSingleLine" *ngFor="let value of values"> |
||||
(blur)="callTouched()" |
<input type="checkbox" class="form-check-input" id="{{controlId}}{{value}}" |
||||
(change)="check($event.target.checked, value)" |
(blur)="callTouched()" |
||||
[checked]="isChecked(value)" |
(change)="check($event.target.checked, value)" |
||||
[disabled]="snapshot.isDisabled"> |
[checked]="isChecked(value)" |
||||
|
[disabled]="snapshot.isDisabled"> |
||||
|
|
||||
<label class="form-check-label" for="{{controlId}}{{value}}">{{value}}</label> |
<label class="form-check-label" for="{{controlId}}{{value}}">{{value}}</label> |
||||
|
</div> |
||||
</div> |
</div> |
||||
@ -1,13 +1,10 @@ |
|||||
.form-check { |
.form-check-block { |
||||
display: block; |
& { |
||||
margin-bottom: .5rem; |
margin-bottom: .5rem; |
||||
margin-left: 0; |
margin-left: 0; |
||||
} |
} |
||||
|
|
||||
.form-check-input { |
|
||||
margin-top: .4rem; |
|
||||
} |
|
||||
|
|
||||
label { |
.form-check-input { |
||||
min-width: 5rem; |
margin-top: .4rem; |
||||
|
} |
||||
} |
} |
||||
Loading…
Reference in new issue