md-hint, md-error overflow the md-input-container
Bug, feature request, or proposal:
md-hint, md-error overflow the md-input-container at the bottom.

It's causing overlaps with the next control like for this Login button.

What is the expected behavior?
Child controls of the md-input-container should not overflow the container.
What is the current behavior?
md-hint, md-error overflow the md-input-container
What are the steps to reproduce?
First print screen for the hint made from here: https://material.angular.io/components/input/examples
What is the use-case or motivation for changing an existing behavior?
Input controls overlap on the next ones like in the second image with the error.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/core: 4.2.3 @angular/flex-layout: 2.0.0-beta.8 @angular/material: 2.0.0-beta.7 typescript: 2.3.4 font-name: Roboto MacOS Sierra Chrome, Firefox, Safari
Is there anything else we should know?
I see this is solved, can you also check @jelbourn @mmalerba and close it?
It still seems very slightly too short (can be seen when setting the font size very high (e.g. 100px). I'll create a PR
Better, but still not perfect, when I zoom it overflows, see here:
In the material guidelines says to set the padding both above and below the hint and error controls, which makes sense if you need to stack more element over each other.

Input and error text Tile height: 64dp Padding above input text: 16dp Padding below input text: 8dp Padding above and below error text: 4dp
@PhilipSultanescu The spec also says different numbers for those same measurements in the text fields section so nothing is going to completely agree with every image in the spec. I think the recent changes put the spacing between internal elements in a good state. For the host element its easy for developers to just set whatever margin they want for their application
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.