Skip to content
New issue

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

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

Already on GitHub? # to your account

[select] Arrow overlapping text when container is floated #8685

Closed
brettsmason opened this issue Apr 27, 2016 · 0 comments
Closed

[select] Arrow overlapping text when container is floated #8685

brettsmason opened this issue Apr 27, 2016 · 0 comments

Comments

@brettsmason
Copy link
Contributor

How can we reproduce this bug?

  1. Create a select input with decent length options
  2. Float the container
  3. The arrow will be covering the end of the option

CodePen link

I have worked out how to solve the issue. At the moment the arrow is in the main area and not the padded area. I suggest changing the select padding on the right (or left if RTL?) to 1.5 x the form padding, and then setting a minus right for the background SVG.

See attached before and after screenshots.

select-before

select-after

Does this approach to fixing it sound OK? If so I'll add a PR.

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

No branches or pull requests

1 participant