]> git.openstreetmap.org Git - rails.git/commitdiff
Remove some print-related custom css
authorAnton Khorev <tony29@yandex.ru>
Fri, 20 Oct 2023 14:26:51 +0000 (17:26 +0300)
committerAnton Khorev <tony29@yandex.ru>
Fri, 20 Oct 2023 14:26:51 +0000 (17:26 +0300)
app/assets/stylesheets/common.scss
app/assets/stylesheets/print.scss
app/views/layouts/map.html.erb

index a366a1bc1dac33bf2df82e0a3d94a9c20f88450a..3941464cba84f06e5f515d9234c7ee39cacdeaa4 100644 (file)
@@ -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 */
index a4afdf576e7e7261956fcd00345ac491bd432db2..35700fc5f2f4c91eb0110b40541b17c4a5f9dcb0 100644 (file)
@@ -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;
 }
index 377f961499cb7154f07a712701330ad867268cf3..adb0cd8a6a3bdaac4815d217ad27541086d55a9a 100644 (file)
   <div id="map" tabindex="2">
   </div>
 
-  <div id="attribution">
+  <div id="attribution" class="d-none">
     <table>
       <tr>
-        <td class="attribution_license"><%= t "site.index.license.license_url" %></td>
-        <td class="attribution_project"><%= t "site.index.license.project_url" %></td>
+        <td><%= t "site.index.license.license_url" %></td>
+        <td><%= t "site.index.license.project_url" %></td>
       </tr>
       <tr>
         <td colspan="2" class="attribution_notice"><%= t "site.index.license.copyright" %></td>