From: John Firebaugh Date: Thu, 25 Jul 2013 00:15:06 +0000 (-0700) Subject: Fix print CSS (fixes #379) X-Git-Tag: live~4838 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/f12c6b77ccd940784597cb306d1cb26e08072a15 Fix print CSS (fixes #379) --- diff --git a/app/assets/stylesheets/print.css b/app/assets/stylesheets/print.css index 72c3255eb..a74bc27fd 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; }