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

Plain text as matSuffix misaligned in appearance=outline #14784

Open
andreasrueedlinger opened this Issue Jan 10, 2019 · 0 comments

Comments

Projects
None yet
3 participants
@andreasrueedlinger
Copy link

andreasrueedlinger commented Jan 10, 2019

What is the expected behavior?

Text as prefix/suffix is aligned with the input in a mat-form-field

What is the current behavior?

Text as prefix/suffix is not aligned with the input in a mat-form-field

What are the steps to reproduce?

https://stackblitz.com/edit/angular-material2-issue-matsuffix-text

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular, Material 7
Browsers: at least Chrome and FF, no others tested

Is there anything else we should know?

I think the misalignment comes from a workaround to align icons as prefix/suffix. It would be nice if both icons and text are aligned correctly!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment