Add padding to directions popups
authorJamie Guthrie <jamie.guthrie@gmail.com>
Tue, 13 Feb 2018 01:28:57 +0000 (01:28 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 13 Feb 2018 17:25:56 +0000 (17:25 +0000)
commit97f75e82c032ae897552e5c17adf7a1a73681488
tree7da717522963f144d17ef23a2bb8c0ab2ed2e4a0
parentc12ed852334cdaa1fa583f84641c967bf1d68429
Add padding to directions popups

Clicking on a direction step now pans to the popup, but includes some
padding so that the popup is not hidden in the corner of the screen.

Closes #1745
app/assets/javascripts/index/directions.js