-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Description
When using a md-icon
as a prefix to an input inside of an md-input-container
the floating label gets misaligned when using a mdPrefix
, as you can see below:
The expected behavior is to have the text aligned with the icon and also have the floating label be at the correct position. As you can see when there is no mdPrefix
icon the text is all aligned how it should be:
To reproduce this simply add a mdPrefix
to a md-input-container
.
Before:
<md-input-container>
<input mdInput placeholder="text" type="text" name="example">
</md-input-container>
and after:
<md-input-container>
<md-icon mdPrefix>email</md-icon>
<input mdInput placeholder="text" type="text" name="example">
</md-input-container>
Right now using mdPrefix
is making the input not look good. If I am using mdPrefix wrong please let me know.
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent