diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-06 13:37:45 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-11-06 17:19:39 +0000 |
commit | b3a8e6980ef8cc69c992d58b932c0351630ed2ef (patch) | |
tree | 26b4a3611946fc19d2b51c8441041931afcfa619 /web/cobrands/sass/_dashboard.scss | |
parent | b50c652ec42afc1ce33a43925b098287065b3ff2 (diff) |
Remove 2x image fallbacks for SVGs.
If the browser doesn't support SVG, they're not going to care about
high-dpi images.
Diffstat (limited to 'web/cobrands/sass/_dashboard.scss')
-rw-r--r-- | web/cobrands/sass/_dashboard.scss | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/web/cobrands/sass/_dashboard.scss b/web/cobrands/sass/_dashboard.scss index aae8aa98b..e9f473243 100644 --- a/web/cobrands/sass/_dashboard.scss +++ b/web/cobrands/sass/_dashboard.scss @@ -175,18 +175,11 @@ display: inline-block; width: 16px; height: 16px; - background: transparent url(/cobrands/fixmystreet/images/crosshairs.png) no-repeat 0 0; + background-repeat: no-repeat; + @include svg-background-image('/cobrands/fixmystreet/images/crosshairs'); background-size: 16px 16px; margin-#{$right}: 0.5em; vertical-align: -0.1em; - - @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { - background-image: url(/cobrands/fixmystreet/images/crosshairs@2x.png); - } - - @media all { - background-image: url(/cobrands/fixmystreet/images/crosshairs.svg), none; - } } } |