-
Notifications
You must be signed in to change notification settings - Fork 6.8k
bug(chips): fixes placeholder in chip inputs #7481 #7509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,16 @@ $mat-chip-input-margin: 3px; | |
align-items: baseline; | ||
} | ||
|
||
.mat-form-field-type-mat-chip-list { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should not be necessary, the user docs are apparently out of date, chips should be done like this now, which resolves the wrapping issues: http://plnkr.co/edit/kc3bxAZRgHS0JbGl3qSX?p=preview There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. Here is a PR to update that example too #7526 |
||
.mat-form-field-flex { | ||
flex-wrap: wrap; | ||
} | ||
.mat-form-field-prefix, | ||
.mat-form-field-suffix { | ||
max-width: 100%; | ||
} | ||
} | ||
|
||
.mat-chip:not(.mat-basic-chip) { | ||
@include mat-elevation-transition; | ||
display: inline-flex; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|| this.focused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.