From: Anton Khorev Date: Fri, 20 Oct 2023 14:26:51 +0000 (+0300) Subject: Remove some print-related custom css X-Git-Tag: live~1012^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/abf53428456cf62edc61af6a1750134d6b1dfa84 Remove some print-related custom css --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index a366a1bc1..3941464cb 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -565,10 +565,6 @@ body.small-nav { /* Rules for attribution text under the main map shown on printouts */ -#attribution { - display: none; -} - .donate-attr { color: darken($green, 10%) !important; } /* Rules for the sidebar */ diff --git a/app/assets/stylesheets/print.scss b/app/assets/stylesheets/print.scss index a4afdf576..35700fc5f 100644 --- a/app/assets/stylesheets/print.scss +++ b/app/assets/stylesheets/print.scss @@ -55,18 +55,12 @@ header, page-break-inside: avoid; height: 40px; font-size: 12px; - text-align: center; table { width: 100% } } -.attribution_license, -.attribution_project { - text-align: left; -} - .attribution_notice { text-align: center; } diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb index 377f96149..adb0cd8a6 100644 --- a/app/views/layouts/map.html.erb +++ b/app/views/layouts/map.html.erb @@ -81,11 +81,11 @@
-
+
- - + +
<%= t "site.index.license.license_url" %><%= t "site.index.license.project_url" %><%= t "site.index.license.license_url" %><%= t "site.index.license.project_url" %>
<%= t "site.index.license.copyright" %>