Skip to content

Commit 3e5dd28

Browse files
committed
Auto merge of #1939 - DSpeckhals:check-mark-static-file, r=carols10cents
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
2 parents 5ce81df + f0c17e1 commit 3e5dd28

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/styles/me.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
&:after {
209209
background-color: #cfc487;
210210
border-color: #cfc487;
211-
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 ");
211+
background-image: url('/assets/check-mark.svg');
212212
background-repeat: no-repeat;
213213
background-position: 3px 4px;
214214
}

public/assets/check-mark.svg

Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)