More tweaks to mobile layout.
Known issues: - A touch is generating two clicks. Most noticeable with pan plugin. - The pan plugin requires the +/- zoom buttons be enabled.
This commit is contained in:
parent
ff6d261407
commit
c630277c25
@ -33,7 +33,7 @@ window.portalHighlighterControl = function() {
|
|||||||
});
|
});
|
||||||
$("#portal_highlight_select").val(_current_highlighter);
|
$("#portal_highlight_select").val(_current_highlighter);
|
||||||
$("#portal_highlight_select").change(function(){ changePortalHighlights($(this).val());});
|
$("#portal_highlight_select").change(function(){ changePortalHighlights($(this).val());});
|
||||||
$(".leaflet-top.leaflet-left").css('padding-top', window.isSmartphone ? '55px' : '20px');
|
$(".leaflet-top.leaflet-left").css('padding-top', '20px');
|
||||||
$(".leaflet-control-scale-line").css('margin-top','25px');
|
$(".leaflet-control-scale-line").css('margin-top','25px');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -77,8 +77,6 @@ window.runOnSmartphonesAfterBoot = function() {
|
|||||||
// disable img full view
|
// disable img full view
|
||||||
$('#portaldetails').off('click', '**');
|
$('#portaldetails').off('click', '**');
|
||||||
|
|
||||||
$('.leaflet-right').addClass('leaflet-left').removeClass('leaflet-right');
|
|
||||||
|
|
||||||
// make buttons in action bar flexible
|
// make buttons in action bar flexible
|
||||||
var l = $('#chatcontrols a:visible');
|
var l = $('#chatcontrols a:visible');
|
||||||
l.css('width', 100/l.length + '%');
|
l.css('width', 100/l.length + '%');
|
||||||
|
@ -139,5 +139,5 @@ body {
|
|||||||
|
|
||||||
#portal_highlight_select{
|
#portal_highlight_select{
|
||||||
top:0px !important;
|
top:0px !important;
|
||||||
left:60px !important;
|
left:0px !important;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user