We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72d2e5a commit a6d4141Copy full SHA for a6d4141
src/material/form-field/form-field.html
@@ -16,7 +16,11 @@
16
</div>
17
</ng-container>
18
19
- <div class="mat-form-field-prefix" *ngIf="_prefixChildren.length">
+ <div
20
+ class="mat-form-field-prefix"
21
+ *ngIf="_prefixChildren.length"
22
+ (cdkObserveContent)="updateOutlineGap()"
23
+ [cdkObserveContentDisabled]="appearance != 'outline'">
24
<ng-content select="[matPrefix]"></ng-content>
25
26
0 commit comments