summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-10-13 07:13:39 +0000
committerLin Jen-Shin <godfat@godfat.org>2017-10-13 20:38:00 +0800
commit45ca71b09c30b42179354c323bba18a552eba83f (patch)
treec193138c275aa5dbc65570a0f2c8e062ba26d623
parent14690f2b3898c4849f68c46a46a2511078f8a31c (diff)
downloadgitlab-ce-45ca71b09c30b42179354c323bba18a552eba83f.tar.gz
Merge branch 'fix-cursor-path' into 'master'
Use image-url instead of url so that asset pipeline can do it's thing Closes #38980 See merge request gitlab-org/gitlab-ce!14799
-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 {