trenpixster / addict

User management lib for Phoenix Framework
MIT License
645 stars 99 forks source link

fixes cross browser boilerplate styles / adds support for Enter key #107

Closed yulolimum closed 8 years ago

yulolimum commented 8 years ago

The labels on the boilerplate pages were positioned weirdly on all browsers but Chrome (http://infinitered.d.pr/n7T2). The first commit fixes that issue.

The second commit adds an event listener for the Enter key on the boilerplate pages. Since the pages don't have a <form> element, you can't "submit" the inputs just by pressing enter. I added a function to detect the event and trigger a click which is what your code already handles.

yulolimum commented 8 years ago

I think i have to propagate these changes to the example_app as well. Working on that....

yulolimum commented 8 years ago

Should be good to go now.

trenpixster commented 8 years ago

Oh, that looked hideous! Thanks for this and for the Enter key binding 👍