Tweaks to mobile for portal_highlighter and others.

This commit is contained in:
hastarin
2013-05-09 00:50:12 +10:00
parent 93f330718a
commit ff6d261407
3 changed files with 18 additions and 18 deletions

View File

@ -33,7 +33,7 @@ window.portalHighlighterControl = function() {
});
$("#portal_highlight_select").val(_current_highlighter);
$("#portal_highlight_select").change(function(){ changePortalHighlights($(this).val());});
$(".leaflet-top.leaflet-left").css('padding-top','25px');
$(".leaflet-top.leaflet-left").css('padding-top', window.isSmartphone ? '55px' : '20px');
$(".leaflet-control-scale-line").css('margin-top','25px');
}
}
@ -61,4 +61,4 @@ window.resetHighlightedPortals = function() {
}
catch(e) {}
});
}
}