From: Tom Hughes Date: Sun, 30 Jul 2023 17:53:30 +0000 (+0100) Subject: Merge remote-tracking branch 'upstream/pull/4115' X-Git-Tag: live~1167 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/52bb2a4430754f73e85055361696b075161e75c0?hp=8078265150c665f0d335b9970a69e63ed9200f19 Merge remote-tracking branch 'upstream/pull/4115' --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 02bddc800..80a1c584b 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -634,19 +634,6 @@ body.small-nav { #attribution { display: none; - - table { - width: 100% - } -} - -.attribution_license, -.attribution_project { - text-align: left; -} - -.attribution_notice { - text-align: center; } .donate-attr { color: darken($green, 10%) !important; } diff --git a/app/assets/stylesheets/print.scss b/app/assets/stylesheets/print.scss index fa04314b1..71fdf3978 100644 --- a/app/assets/stylesheets/print.scss +++ b/app/assets/stylesheets/print.scss @@ -18,6 +18,8 @@ html { border: 1px solid black; } +/* Rules for attribution text under the main map shown on printouts */ + #attribution { position: absolute !important; bottom: 0; @@ -26,4 +28,17 @@ html { height: 40px; font-size: 12px; text-align: center; + + table { + width: 100% + } +} + +.attribution_license, +.attribution_project { + text-align: left; +} + +.attribution_notice { + text-align: center; }