Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alignment of icons incorrect when using as prefix value of TextField #90

Closed
cargix1 opened this issue Jun 10, 2017 · 1 comment
Closed

Comments

@cargix1
Copy link

cargix1 commented Jun 10, 2017

Issue summary

The vertical alignment of an Icon component is incorrect when using as prefix value of TextField. The color of the icon also looks to be incorrect.

Expected behavior

I'd expect the search icon to appear like it does within the Shopify orders screen.

screen shot 2017-06-10 at 21 15 49

Actual behavior

The icon is dark black rather then the grey color and positioned too close to the top of the textfield.

screen shot 2017-06-10 at 21 14 30

Steps to Reproduce the Problem

<TextField type="search" placeholder="Search ..." prefix={
  <Icon source="search"></Icon>
}></TextField>

Specifications

  • Polaris version: 1.0.3
  • React version: 15.4.2
  • Browser: Chrome
  • Device: Macbook Pro
  • Operating System: Mac OS Sierra
@lemonmade
Copy link
Member

Thanks for the issue, @cargix1. I think this is the same issue as #60, so I’ll close this one in favour of that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants