From 71e8ebcf87ff28fb05d548558d7d445d8f89e0cc Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 24 Jul 2013 17:15:06 -0700 Subject: [PATCH] Fix print CSS (fixes #379) --- app/assets/stylesheets/print.css | 48 +++++++++++++------------------- 1 file changed, 20 insertions(+), 28 deletions(-) diff --git a/app/assets/stylesheets/print.css b/app/assets/stylesheets/print.css index 72c3255eb4..a74bc27fd5 100644 --- a/app/assets/stylesheets/print.css +++ b/app/assets/stylesheets/print.css @@ -1,41 +1,33 @@ -#small-title { - display: none; -} - -#left { - display: none; -} - -#greeting { - display: none; -} - -#tabnav { - display: none; -} - -#sidebar { - display: none; -} - -#permalink { - display: none; -} - -#editmenu { +#small-title, +#left, +#greeting, +#tabnav, +#sidebar, +#permalink, +#editmenu, +.leaflet-control { display: none; } -.leaflet-control { - display: none; +html { + height: 100%; } #map { + position: absolute !important; + top: 0; + bottom: 40px; + left: 0; + right: 0; border: 1px solid black; - margin: auto !important; } #attribution { + position: absolute !important; + bottom: 0; + left: 0; + right: 0; + height: 40px; font-size: 12px; text-align: center; }