-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-select doesn't line up with other input elements in md-content #2793
Comments
:+1 |
I've experienced the issue with Chrome, I haven't tested in any other browsers. |
:+1 can confirm in firefox 39.0a2 |
👍 experiencing on Chrome |
input inside md-input-container will get string height.
I can only manual override it by custom css? I fixed by reset all padding height even line height. This is less .input-row {
padding-bottom: 26px;
& md-input-container {
padding-bottom: 2px;
}
& md-input-container md-select{
padding: 2px;
padding-bottom: 0;
line-height: 28px;
}
& md-input-container .md-input:first-child {
padding-top: 8px;
}
& .icon-input md-input-container{
margin-right: 0;
}
& .icon-input md-icon{
margin-right: 8px;
}
}
|
@smartshaila I believe I addressed this issue sometime last week - can you confirm that this is still an issue in 0.10.0? Closing for now, will re-open if it is still an issue. |
I updated to 0.10.0 and still have this issue, same as the screenshot from @redyyu |
Can somebody create a CodePen demonstrating this issue? |
here you are. http://codepen.io/anon/pen/WvEyeR please note: the input-field with layout="row" is for a search button beside the input my project. div.input-field(
flex
layout="row"
)
In this case I also need percent of width for each part of select or input ( thats regular needs right?) If that sample is to complex. http://codepen.io/anon/pen/gpxKrP I take out every column of div. looks strange height of input. In the angular material official demo Please also take care about no-label and has label or some static label kind things, I did lot override for align up those different form fields. a lot...... a lot...... lot.... |
Awesome, thanks! For 0.11.0, I believe we are going to have a focused On Tue, Jun 16, 2015 at 10:11 AM, Redy notifications@github.com wrote:
|
I did update my last comment, with more details, hope that's helpful... |
The issue is still there if the md-select is wrapped in a ng-transclude element. |
I've got several md-input-containers and an md-select in an md-content with layout set to row, and the md-select doesn't line up with the other input fields.
As a temporary override, I can explicitly set margin-top to 1.7em on the md-select to get it to line up.
The text was updated successfully, but these errors were encountered: