Skip to content

mat-input-placeholder-wrapper doesn't align with mat-select-placeholder #3429

@frankspin89

Description

@frankspin89

Bug, feature request, or proposal:

Bug

What is the expected behavior?

expected

Expected that both placeholders would align vertical with each other in floating state.

What is the current behavior?

current

There is a little miss alignment in the vertical spacing.

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

Styling should be consistent.

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

OS: macOs Sierra
Chrome: Version 56.0.2924.87 (64-bit)
Angular: 4.0.0-rc.2
Material: 2.0.0-beta.2

Is there anything else we should know?

A possible solution is changing the .mat-input-placeholder-wrapper top property.

Current

.mat-input-placeholder-wrapper {
  top: -1em;
}
.mat-input-placeholder-wrapper {
  top: -.7em;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions