Skip to content
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

fix(form-field): multiple projected block-level prefix/suffix stacking on top of each other #14317

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/lib/form-field/form-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ $mat-form-field-default-infix-width: 180px !default;
white-space: nowrap;
flex: none;
position: relative;

// Allow for projected block-level elements not stand next to each other, rather than stack.
display: flex;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mmalerba as far as I could tell there shouldn't be any visual differences, but you might have some more insights.

}

.mat-form-field-infix {
Expand Down