Skip to content

Commit 6dcc781

Browse files
Replace image-url asset helper instances
Replace instances with CSS url() function. See rails/dartsass-rails#18. Co-Authored-By: Martin Jones <[email protected]>
1 parent f016711 commit 6dcc781

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/assets/stylesheets/application.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
$app-image-path: "/assets/static/";
2+
$app-font-path: "/assets/static/";
3+
14
$govuk-new-link-styles: true;
25

36
@import "govuk_publishing_components/govuk_frontend_support";

app/assets/stylesheets/helpers/_draft.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.draft main {
2-
background-image: image-url("draft-watermark.png");
2+
background-image: url("draft-watermark.png");
33
background-repeat: repeat-y;
44
background-position: 50% 0;
55
background-size: contain;

0 commit comments

Comments
 (0)