Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
iOS legibility improvements #3
This mainly improves the search results, but I added some title and meta viewport tags to the nearby and stop pages too (with some css tweaks to support, the overall effect is mostly unchanged)
Screenshot from the iOS simulator http://jouire.com/screens/3k/fqg9ml91k4gcc.png
I haven't tested on android, and I don't know how happy you are about aping Apple's list style, but hey.
I discovered while working on this that the only way to make a home screened web app remain within the app and not switch to safari when you click links is to do onclick window.location = link.href;
I didn't want to include that change in this pull request because it's a f*cking insane hack, but it does make the experience a lot nicer if you do save it to home screen (particularly nice if you save the /nearby link). What do you think?