summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2017-10-10 14:18:39 -0500
committerClement Ho <ClemMakesApps@gmail.com>2017-10-10 14:18:39 -0500
commit4276864e8846c609e45446a00db7613601d19343 (patch)
tree4c76ba80f8b1899b00c26f780e578b4f8003244b
parent9ac5338b8eb361927ad068486398b92acb0c287e (diff)
downloadgitlab-ce-fix-cursor-path.tar.gz
Use image-url instead of url so that asset pipeline can do it's thingfix-cursor-path
-rw-r--r--app/assets/stylesheets/pages/diff.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss
index ffb5fc94475..09f831dcb29 100644
--- a/app/assets/stylesheets/pages/diff.scss
+++ b/app/assets/stylesheets/pages/diff.scss
@@ -707,11 +707,11 @@
.frame.click-to-comment {
position: relative;
- cursor: url(icon_image_comment.svg)
+ cursor: image-url('icon_image_comment.svg')
$image-comment-cursor-left-offset $image-comment-cursor-top-offset, auto;
// Retina cursor
- cursor: -webkit-image-set(url(icon_image_comment.svg) 1x, url(icon_image_comment@2x.svg) 2x)
+ cursor: -webkit-image-set(image-url('icon_image_comment.svg') 1x, image-url('icon_image_comment@2x.svg') 2x)
$image-comment-cursor-left-offset $image-comment-cursor-top-offset, auto;
.comment-indicator {