diff options
-rw-r--r-- | web/cobrands/fixmystreet/_h5bp.scss | 5 | ||||
-rw-r--r-- | web/js/map-OpenLayers.js | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/web/cobrands/fixmystreet/_h5bp.scss b/web/cobrands/fixmystreet/_h5bp.scss index 30ebcbfe1..f4078cca6 100644 --- a/web/cobrands/fixmystreet/_h5bp.scss +++ b/web/cobrands/fixmystreet/_h5bp.scss @@ -256,12 +256,11 @@ td { vertical-align: top; } Inlined to avoid required HTTP connection: h5bp.com/r ========================================================================== */ +/* mySociety removal: bits of * and :after */ @media print { - * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */ + * { box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */ a, a:visited { text-decoration: underline; } - a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } - .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */ pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } /* h5bp.com/t */ tr, img { page-break-inside: avoid; } diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index 3d2d3259a..7522ae7d6 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -213,7 +213,7 @@ $(function(){ displayProjection: new OpenLayers.Projection("EPSG:4326") }); - if ($('html').hasClass('mobile')) { + if ($('html').hasClass('mobile') && fixmystreet.page == 'around') { $('#fms_pan_zoom').css({ top: '2.75em !important' }); } |