mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-06 22:40:57 -04:00
The content of the map buttons jumped on Chrome and Safari when focused. It turns out this was because I was testing in Firefox which Leaflet had identified as having touch capability (and so added the .leaflet-touch class). Leaflet makes the buttons 30px rather than 26px for touch-capable devices/browsers so the jumping was down to the line-height being set for the wrong container height. This adds styles to give a different line-height when touch is available, to match the Leaflet styles.