Skip to content

Commit 9ea914b

Browse files
authored
Merge pull request #155 from assureclaims/feature/RMA-98688
multiline label issue
2 parents ce63e97 + 5495b66 commit 9ea914b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/dxc-ngx-cdk/src/lib/dxc-select/select.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
See https://github.com/angular/components/issues/20694
99
-->
1010
<span class="assistiveText">{{assistiveText}}</span>
11-
<label class="selectLabel">
11+
<label class="selectLabel" *ngIf="label">
1212
<span *ngIf="required" class="select-required">*</span>
1313
<span>{{label}}</span>
1414
</label>

projects/dxc-ngx-cdk/src/lib/dxc-select/select.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $mat-select-item-height: 3em !default;
1212
$mat-select-placeholder-arrow-space: 2 *
1313
($mat-select-arrow-size + $mat-select-arrow-margin);
1414

15-
.mat-select {
15+
.mat-select, .mat-select-empty {
1616
// display: inline-block;
1717
width: 100%;
1818
outline: none;

0 commit comments

Comments
 (0)