From ffa879dad726392cfffb936b5e62caee98e3cd01 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 27 Mar 2013 11:35:19 +0100 Subject: [PATCH 1/2] Hide the zoom buttons on print --- css/ol.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/css/ol.css b/css/ol.css index 09e6c23dbf..9988b3a94e 100644 --- a/css/ol.css +++ b/css/ol.css @@ -63,6 +63,12 @@ border-radius: 4px; padding: 2px; } +@media print { + .ol-zoom { + display: none; + } +} + .ol-zoom a { display: block; margin: 1px; From 56afdb31c057528835e5e9c0d3a6d05ea41f6202 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Wed, 27 Mar 2013 11:41:23 +0100 Subject: [PATCH 2/2] Remove unused ol-renderer-webgl-canvas css class --- css/ol.css | 4 ---- 1 file changed, 4 deletions(-) diff --git a/css/ol.css b/css/ol.css index 9988b3a94e..f22a2b9c1b 100644 --- a/css/ol.css +++ b/css/ol.css @@ -24,10 +24,6 @@ position: absolute; border: 2px solid red; } -.ol-renderer-webgl-canvas { - width: 100%; - height: 100%; -} .ol-scale-line { background: rgba(0,60,136,0.3); border-radius: 4px;