Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/pull/4303'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Oct 20, 2023
2 parents 9c3a66a + abf5342 commit 3023c07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
4 changes: 0 additions & 4 deletions app/assets/stylesheets/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
6 changes: 0 additions & 6 deletions app/assets/stylesheets/print.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
6 changes: 3 additions & 3 deletions app/views/layouts/map.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@
<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>
Expand Down

0 comments on commit 3023c07

Please sign in to comment.