Merge pull request #440 from fredj/css-print

css cleanups
This commit is contained in:
Frédéric Junod
2013-04-03 05:41:02 -07:00
+6 -4
View File
@@ -24,10 +24,6 @@
position: absolute; position: absolute;
border: 2px solid red; border: 2px solid red;
} }
.ol-renderer-webgl-canvas {
width: 100%;
height: 100%;
}
.ol-scale-line { .ol-scale-line {
background: rgba(0,60,136,0.3); background: rgba(0,60,136,0.3);
border-radius: 4px; border-radius: 4px;
@@ -63,6 +59,12 @@
border-radius: 4px; border-radius: 4px;
padding: 2px; padding: 2px;
} }
@media print {
.ol-zoom {
display: none;
}
}
.ol-zoom a { .ol-zoom a {
display: block; display: block;
margin: 1px; margin: 1px;