Skip to content

Commit

Permalink
Auto merge of #1939 - DSpeckhals:check-mark-static-file, r=carols10cents
Browse files Browse the repository at this point in the history
Move check mark SVG to static file

The content security policy of the production website was set up to not allow data URL's. Moving the logo to a static SVG policy fixes this.

Fixes #1938
  • Loading branch information
bors committed Dec 5, 2019
2 parents 5ce81df + f0c17e1 commit 3e5dd28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/styles/me.scss
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
&:after {
background-color: #cfc487;
border-color: #cfc487;
background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.414 11L4 12.414l5.414 5.414L20.828 6.414 19.414 5l-10 10z' fill='%23383838' fill-rule='nonzero'/%3E%3C/svg%3E ");
background-image: url('/assets/check-mark.svg');
background-repeat: no-repeat;
background-position: 3px 4px;
}
Expand Down
3 changes: 3 additions & 0 deletions public/assets/check-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3e5dd28

Please sign in to comment.