Skip to content

Commit

Permalink
Merge pull request #3134 from hypothesis/csp-violation-new-homepage
Browse files Browse the repository at this point in the history
Fix CSP violation on new homepage
  • Loading branch information
robertknight committed Mar 24, 2016
2 parents 29a656e + 4a02d98 commit 24977f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions h/static/styles/util.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@
.u-strong {
font-weight: bold;
}

.u-hidden {
display: none;
}
2 changes: 1 addition & 1 deletion h/templates/includes/header.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
the wordpress-theme-hypothesis repository.
#}
<svg style="display:none">
<svg class="u-hidden">
<symbol class="border-with-left-arrow" id="border-with-left-arrow">
<rect class="background-rect" stroke="none" x="0" y="0" width="10" height="20"/>
<!-- ensure a sharp outline !-->
Expand Down

0 comments on commit 24977f6

Please sign in to comment.