Merge remote-tracking branch 'upstream/pull/4303'

This commit is contained in:
Tom Hughes 2023-10-20 17:07:07 +01:00
commit 3023c070ea
3 changed files with 3 additions and 13 deletions

View file

@ -565,10 +565,6 @@ body.small-nav {
/* Rules for attribution text under the main map shown on printouts */ /* Rules for attribution text under the main map shown on printouts */
#attribution {
display: none;
}
.donate-attr { color: darken($green, 10%) !important; } .donate-attr { color: darken($green, 10%) !important; }
/* Rules for the sidebar */ /* Rules for the sidebar */

View file

@ -55,18 +55,12 @@ header,
page-break-inside: avoid; page-break-inside: avoid;
height: 40px; height: 40px;
font-size: 12px; font-size: 12px;
text-align: center;
table { table {
width: 100% width: 100%
} }
} }
.attribution_license,
.attribution_project {
text-align: left;
}
.attribution_notice { .attribution_notice {
text-align: center; text-align: center;
} }

View file

@ -81,11 +81,11 @@
<div id="map" tabindex="2"> <div id="map" tabindex="2">
</div> </div>
<div id="attribution"> <div id="attribution" class="d-none">
<table> <table>
<tr> <tr>
<td class="attribution_license"><%= t "site.index.license.license_url" %></td> <td><%= t "site.index.license.license_url" %></td>
<td class="attribution_project"><%= t "site.index.license.project_url" %></td> <td><%= t "site.index.license.project_url" %></td>
</tr> </tr>
<tr> <tr>
<td colspan="2" class="attribution_notice"><%= t "site.index.license.copyright" %></td> <td colspan="2" class="attribution_notice"><%= t "site.index.license.copyright" %></td>