diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/zurich/base.scss | 7 | ||||
-rw-r--r-- | web/js/map-wmts-zurich.js | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/web/cobrands/zurich/base.scss b/web/cobrands/zurich/base.scss index 3824c0ff6..8111f2726 100644 --- a/web/cobrands/zurich/base.scss +++ b/web/cobrands/zurich/base.scss @@ -5,10 +5,17 @@ @import "../fixmystreet/_base"; +/* Front page main box is in content now, so get rid of its margin from parent */ +#front-main { + margin: 0; +} + +/* Autocomplete dropdown on front page, don't want bullets */ .ui-menu-item { list-style-type: none; } +/* Simplify the problem header on a report page */ .problem-header h1 { font-size: 120%; font-weight: bold; diff --git a/web/js/map-wmts-zurich.js b/web/js/map-wmts-zurich.js index f7e1fbf05..f296a12d9 100644 --- a/web/js/map-wmts-zurich.js +++ b/web/js/map-wmts-zurich.js @@ -28,9 +28,11 @@ $(function(){ fixmystreet.controls = [ new OpenLayers.Control.Attribution(), new OpenLayers.Control.ArgParser(), - fixmystreet.nav_control, - new OpenLayers.Control.PanZoomFMS({id: 'fms_pan_zoom' }) + fixmystreet.nav_control ]; + if ( fixmystreet.page != 'report' || !$('html').hasClass('mobile') ) { + fixmystreet.controls.push( new OpenLayers.Control.PanZoomFMS({id: 'fms_pan_zoom' }) ); + } fixmystreet.map_type = OpenLayers.Layer.WMTS; |