Skip to content

Commit aefa788

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 29d9832 commit aefa788

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/assets/stylesheets/application.scss

+3
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

+1-1
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)