Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

crisbeto
Copy link
Member

  • Fixes the datepicker's arrow being off a few pixels inside md-input-container, as well as being too close to the bottom when not in a md-input-container.
  • Fixes the select's arrow icon being too dark, because it inherits from the closest color rule.

Relates to #9798.

For reference, here's what it looked like before:
before

And here's what it looks like after:
after

* Fixes the datepicker's arrow being off a few pixels inside `md-input-container`, as well as being too close to the bottom when not in a `md-input-container`.
* Fixes the select's arrow icon being too dark, because it inherits from the closest `color` rule.

Relates to angular#9798.
@crisbeto crisbeto added the needs: review This PR is waiting on review from the team label Oct 10, 2016

// TODO(jelbourn): This position isn't great on all platforms.
@include rtl(transform, translateY(-25%) translateX(45%), translateY(-25%) translateX(-45%));
@include rtl(transform, translateX(45%), translateX(-45%));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this happen to fix the TODO above it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure what the TODO is referring to. I removed it since it's unnecessary.

@topherfangio
Copy link
Contributor

This looks good, but what demo can we look at to see the changes? Or was your image from a Codepen?

@crisbeto
Copy link
Member Author

My image is from me running the docs site locally. I shuffled some HTML around in the input demo.

Copy link
Contributor

@topherfangio topherfangio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@ThomasBurleson ThomasBurleson added needs: presubmit and removed needs: review This PR is waiting on review from the team labels Oct 10, 2016
@ThomasBurleson ThomasBurleson added this to the 1.1.2 milestone Oct 10, 2016
@kara kara added pr: merge ready This PR is ready for a caretaker to review and removed needs: presubmit labels Nov 15, 2016
@kara kara merged commit b0df030 into angular:master Nov 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr: merge ready This PR is ready for a caretaker to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants