-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cross-browser compatible styling for input[type=file] #5424
Conversation
Generated by 🚫 Danger |
@publiclab/reviewers |
@divyabaid16 @shivam15 can I have review here too please :) |
@sashadev-sky Works for me!! |
@gauravano can I please get a 2nd review on this so we can merge :) |
It works for me too @sashadev-sky |
@shivam15 @divyabaid16 Thank you to both of you :) I really appreciate you taking the time! @jywarren this one is ready for merge |
Awesome, thank you!!! |
@@ -0,0 +1,14 @@ | |||
/* | |||
================================================================ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really awesome!
* Apply styling * Add comments
* Apply styling * Add comments
Fixes #5423 (<=== Add issue number here)
===============================================
After applying a
line-height: 0
globally toinput[type=file]
:Chrome: improved - now better

Firefox: stays the same (perfect)

Safari: improved -now perfect

===============================================
OLD ones pasted in from original issue for easy reference:

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!