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 57676e4 commit ff8988eCopy full SHA for ff8988e
src/material/core/option/option.html
@@ -1,6 +1,8 @@
1
<mat-pseudo-checkbox *ngIf="multiple" class="mat-mdc-option-pseudo-checkbox"
2
[state]="selected ? 'checked' : 'unchecked'" [disabled]="disabled"></mat-pseudo-checkbox>
3
4
+<ng-content select="mat-icon"></ng-content>
5
+
6
<span class="mdc-list-item__primary-text"><ng-content></ng-content></span>
7
8
<!-- See a11y notes inside optgroup.ts for context behind this element. -->
src/material/core/option/option.scss
@@ -46,8 +46,10 @@
46
}
47
48
49
+ .mat-icon,
50
.mat-pseudo-checkbox {
51
margin-right: mdc-list-variables.$side-padding;
52
+ flex-shrink: 0;
53
54
[dir='rtl'] & {
55
margin-right: 0;
0 commit comments