angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.28k stars 6.71k forks source link

Alignment issue with flex-layout + datetime-local input #8012

Open andreroggeri opened 6 years ago

andreroggeri commented 6 years ago

Bug, feature request, or proposal:

Bug (Not sure if it belongs to Material or Flex Layout)

What is the expected behavior?

Elements to be aligned

What is the current behavior?

Inputs aren't aligned when using flex-layout and datetime-local

What are the steps to reproduce?

Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.
Demo: https://stackblitz.com/edit/angular-material2-issue-abcj1u

What is the use-case or motivation for changing an existing behavior?

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

Angular 4.4.3 Material Beta 12 Flex Layout Beta 9

saulotoledo commented 6 years ago

The problem is that the default height for a datetime-local input is different from the other input fields. I added a default height for input fields in #8111 .

mmalerba commented 6 years ago

This issue has been reported with type="date" as well

saulotoledo commented 6 years ago

@mmalerba I just noticed that it is missing the "has pr" label for this issue.