Skip to content

Commit

Permalink
Replace image-url asset helper instances
Browse files Browse the repository at this point in the history
Replace instances with CSS url() function. See rails/dartsass-rails#18.

Co-Authored-By: Martin Jones <[email protected]>
  • Loading branch information
jon-kirwan and MartinJJones committed Dec 11, 2023
1 parent 9c70320 commit 29e7b36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/helpers/_draft.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.draft main {
background-image: image-url("draft-watermark.png");
background-image: url("draft-watermark.png");
background-repeat: repeat-y;
background-position: 50% 0;
background-size: contain;
Expand Down

0 comments on commit 29e7b36

Please sign in to comment.