You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Select should adjust height when font-size changes #2127
Currently when you change the font size of the select to override the default font size, the placeholder doesn't adjust to make space for a larger font. Md-input does do this, so select should as well.
.mat-select {
padding-top: 5px; //makes the select's baseline align with neighboring text input
margin-bottom: 14px //makes the text input below my select align with it's neighbor also
}
Reacted by Tanvi Shah, Kevin Aud and Juan Pablo Aveggio
Please fix this issue! Also the space between label and selected option is not the same than between label and text of an input field if you change the font-size.
Activity
renevall commentedon Jan 25, 2017
Just for reference Kara, I put a md-select after a md-input, and it overlaps without changing the font size.
savatware commentedon Feb 24, 2017
I had the same issue.
I was able to workaround it by applying the following style (which basically remove the hard-coded values)
hblieb commentedon Apr 3, 2017
@P-Jan work around partly worked for me. I only needed the
And I added
javagaba commentedon Aug 3, 2017
Any news on this? This issue still seems to exist in the latest version...
makdeniss commentedon Aug 14, 2017
I've fixed the alignment issue with this code:
You have to play with the
margin-topvalue in your context. But that will align the input field and select field correctly with each other.richmwatts commentedon Aug 23, 2017
Still no fix for this?
qstiegler commentedon Sep 18, 2017
Please fix this issue! Also the space between label and selected option is not the same than between label and text of an input field if you change the font-size.
willshowell commentedon Sep 18, 2017
AFAIK this will be fixed by #6488
jelbourn commentedon May 9, 2018
Should be resolved with the existence of
mat-form-fieldangular-automatic-lock-bot commentedon Sep 8, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.