File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
projects/components/src/form-field Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1
1
@import ' mixins' ;
2
2
3
3
.form-field {
4
- padding-top : 8px ;
5
-
6
4
& .optional {
7
5
margin-bottom : 18px ;
8
6
}
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import { IconSize } from '../icon/icon-size';
7
7
changeDetection : ChangeDetectionStrategy . OnPush ,
8
8
template : `
9
9
<section class="form-field" [ngClass]="{ optional: this.isOptional }">
10
- <div class="info-label">
11
- <ht-label *ngIf="this.label" class="label" [label]="this.label"></ht-label>
10
+ <div *ngIf="this.label" class="info-label">
11
+ <ht-label class="label" [label]="this.label"></ht-label>
12
12
<ht-label *ngIf="this.isOptional" class="optional-label" label="(Optional)"></ht-label>
13
13
<ht-icon
14
14
*ngIf="this.icon"
You can’t perform that action at this time.
0 commit comments